RAT-204: Unify resource handling.

* Module: apache-rat-core
** Use IOUtils.closeQuietly() instead of manual try/finally/if !null - Java7 tryWithResources would ease that even more!
** ClaimAggregator: remove unnecessary (un)boxing of integers.
** DirectoryWalker: Avoid possible null access during comparison if files array is null.
** Inline variables that are initialized just before being returned.
** Refactor test class members to be private
** Remove redundant javadoc elements that are IntelliJ-autogenerated.


git-svn-id: https://svn.apache.org/repos/asf/creadur/rat/trunk@1682341 13f79535-47bb-0310-9956-ffa450edef68
36 files changed