jkrdev commented on issue #341: ACCUMULO-3902 Ensure [Batch]Scanners are closed in ITs URL: https://github.com/apache/accumulo/pull/341#issuecomment-353340658 So I will go through again and check them but most of the time when I use a `scanner = null;` outside of a try block followed by a `finally `block it is because the scanner gets re-assigned later on. When in a try-with-resources block the scanner becomes final therefore it can't be re-assigned later on.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services