]> source.dussan.org Git - poi.git/commit
Bug 56595: Also switch the cache in DateUtil.isADateFormat() to ThreadLocals to not...
authorDominik Stadler <centic@apache.org>
Mon, 22 Dec 2014 12:08:59 +0000 (12:08 +0000)
committerDominik Stadler <centic@apache.org>
Mon, 22 Dec 2014 12:08:59 +0000 (12:08 +0000)
commita7ba5002803e542cf63328fbb457d3820de3e73d
tree2eeded7ebd7bdb34b93051657e3de277d58ecf0c
parent43ee4e08caf48430f8036fb500e267c88e33a48d
Bug 56595: Also switch the cache in DateUtil.isADateFormat() to ThreadLocals to not have another syncpoint here. Again only very little data is kept, so no memory bloat should happen because of this.
Also do more simple checks before actually looking at the cache

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647296 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/ss/usermodel/DateUtil.java
src/testcases/org/apache/poi/ss/usermodel/TestDataFormatter.java