Apache Commons logo Commons Pool

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is

Effort is min

Summary

Classes Bugs Errors Missing Classes
68 5 0 0

org.apache.commons.pool2.impl.GenericKeyedObjectPool

Bug Category Details Line Priority
org.apache.commons.pool2.impl.GenericKeyedObjectPool.clearOldest() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 755 Medium
org.apache.commons.pool2.impl.GenericKeyedObjectPool.getNumWaitersByKey() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 1380 Medium
org.apache.commons.pool2.impl.GenericKeyedObjectPool.hasBorrowWaiters() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 854 Medium
org.apache.commons.pool2.impl.GenericKeyedObjectPool.listAllObjects() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 1410 Medium
org.apache.commons.pool2.impl.GenericKeyedObjectPool.reuseCapacity() makes inefficient use of keySet iterator instead of entrySet iterator PERFORMANCE WMI_WRONG_MAP_ITERATOR 817 Medium