]> 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)
commitdd25abcc68717e53e12cee42ebc8a6f207a9acff
tree2eeded7ebd7bdb34b93051657e3de277d58ecf0c
parent6efbd16c7b32dfc7c6615362640b688f7e0d5a11
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