Ignore unused variables in try-with-resources
Ignore unused variables in try-with-resources

Reduce compiler warning spam from the use of AutoCloseable trace objects
created in try-with-resources blocks. This could allow some bugs to be
overlooked of the type where the wrong variable is referenced inside the
block or the resource is created, but not needed for the block.
Unfortunately, it's not possible to ignore them by specific types.
Otherwise, I'd just ignore the TraceScope ones.

It may be useful to, instead of ignoring these warnings for TraceScope
objects, add annotated data to the scope, so that way it's both
referenced, and has additional meaningful data in the resulting trace
span.

lstav/accumulo,lstav/accumulo,ctubbsii/accumulo,ivakegg/accumulo,keith-turner/accumulo,lstav/accumulo,lstav/accumulo,mjwall/accumulo,mjwall/accumulo,milleruntime/accumulo,ivakegg/accumulo,lstav/accumulo,mjwall/accumulo,keith-turner/accumulo,phrocker/accumulo-1,apache/accumulo,ctubbsii/accumulo,ctubbsii/accumulo,keith-turner/accumulo,keith-turner/accumulo,milleruntime/accumulo,ivakegg/accumulo,ctubbsii/accumulo,ctubbsii/accumulo,apache/accumulo,milleruntime/accumulo,ivakegg/accumulo,milleruntime/accumulo,ctubbsii/accumulo,mjwall/accumulo,milleruntime/accumulo,mjwall/accumulo,lstav/accumulo,phrocker/accumulo-1,phrocker/accumulo-1,apache/accumulo,ivakegg/accumulo,keith-turner/accumulo,apache/accumulo,phrocker/accumulo-1,keith-turner/accumulo,keith-turner/accumulo,milleruntime/accumulo,ivakegg/accumulo,ivakegg/accumulo,ctubbsii/accumulo,apache/accumulo,lstav/accumulo,milleruntime/accumulo,apache/accumulo,phrocker/accumulo-1,phrocker/accumulo-1,phrocker/accumulo-1,mjwall/accumulo,mjwall/accumulo,apache/accumulo