fixed sonar issues in CachingUtil.java

No match.