Fix warn that fails compile
We don't throw any exception in `close` so we shouldn't declare that we do. Declaring that we do angers that java gods because we might throw `InterruptedException` which is evil to throw in `close`. Original commit: elastic/x-pack-elasticsearch@49ca8143d7
This commit is contained in:
parent
0729c13f14
commit
b713f091b2
|
@ -83,7 +83,7 @@ public abstract class ProtoHandler<R> implements HttpHandler, AutoCloseable {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void close() throws Exception {
|
||||
public void close() {
|
||||
// no-op
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue