* Don't use deprecated LockFile constructor
* Fix warnings about unchecked conversion of MergeResult
* MockServletConfig: Fix warning about unchecked conversion of Enumeration
* HugeFileTest: Make Git a class member and open in try-with-resource
* Suppress "unchecked cast" warnings related to UploadPackFactory.DISABLED
* DiffAlgorithms: Fix warnings about variable hiding
* DirCacheBasicTest: Open ObjectInserter.Formatter in try-with-resource
* DirCacheBuilderIteratorTest: Open TreeWalk in try-with-resource
* DirCacheCGitCompatabilityTest: Open TreeWalk in try-with-resource
* DirCacheCheckoutMaliciousPathTest: Open Git and RevWalk in t-w-r
* DirCacheIteratorTest: Open TreeWalk instances in try-with-resource
* ForPathTest: Open TreeWalk in try-with-resource
* GitConstructionTest: Open Git instance in try-with-resource
* IndexDiffTest: Open Git instances in try-with-resources
* ManifestParserTest: Don't use deprecated StringBufferInputStream
* InMemoryRepository: Remove unused RevWalk from batch method signature