You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2017/09/21 17:04:25 UTC
[2/2] lucene-solr:branch_7x: Suppress resource leak warning in
UpdateRequestProcessor.close() method.
Suppress resource leak warning in UpdateRequestProcessor.close() method.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/f8736a9b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/f8736a9b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/f8736a9b
Branch: refs/heads/branch_7x
Commit: f8736a9bef873ccafe2fb6b461cb1499f09ef951
Parents: 925bb38
Author: Christine Poerschke <cp...@apache.org>
Authored: Thu Sep 21 15:28:33 2017 +0100
Committer: Christine Poerschke <cp...@apache.org>
Committed: Thu Sep 21 18:03:45 2017 +0100
----------------------------------------------------------------------
.../org/apache/solr/update/processor/UpdateRequestProcessor.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f8736a9b/solr/core/src/java/org/apache/solr/update/processor/UpdateRequestProcessor.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/update/processor/UpdateRequestProcessor.java b/solr/core/src/java/org/apache/solr/update/processor/UpdateRequestProcessor.java
index 966299f..7963ec8 100644
--- a/solr/core/src/java/org/apache/solr/update/processor/UpdateRequestProcessor.java
+++ b/solr/core/src/java/org/apache/solr/update/processor/UpdateRequestProcessor.java
@@ -82,6 +82,7 @@ public abstract class UpdateRequestProcessor implements Closeable {
@Override
public final void close() throws IOException {
+ @SuppressWarnings("resource")
UpdateRequestProcessor p = this;
while (p != null) {
try {