mirror of https://github.com/apache/lucene.git
Suppress resource leak warning in UpdateRequestProcessor.close() method.
This commit is contained in:
parent
bdc973c707
commit
9bc338c266
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue