Minor optimizations.

Exctrated use of calendar, since all operations involving the calendar classes
are costly including getInstance.

- Allocated array of correct size

Arguably these issues are really only irritations for anyone measuring the performance
of commons-compress; in other words not all that significant in terms of real
performance gain, at least not the kind an end-user would notice.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/compress/trunk@1650170 13f79535-47bb-0310-9956-ffa450edef68
4 files changed