Apache Commons logo Commons Collections

PMD Results

The following document contains the results of PMD 6.4.0.

Files

org/apache/commons/collections4/ArrayStack.java

Violation Priority Line
Useless parentheses. 4 154
Useless parentheses. 4 155

org/apache/commons/collections4/IterableUtils.java

Violation Priority Line
Useless parentheses. 4 362

org/apache/commons/collections4/SplitMapUtils.java

Violation Priority Line
Useless parentheses. 4 241

org/apache/commons/collections4/bidimap/AbstractDualBidiMap.java

Violation Priority Line
Useless qualified this usage in the same class. 3 696

org/apache/commons/collections4/bidimap/TreeBidiMap.java

Violation Priority Line
Unnecessary use of fully qualified name 'DataElement.VALUE' due to existing static import 'org.apache.commons.collections4.bidimap.TreeBidiMap.DataElement.VALUE' 4 2247
Unnecessary use of fully qualified name 'DataElement.VALUE' due to existing static import 'org.apache.commons.collections4.bidimap.TreeBidiMap.DataElement.VALUE' 4 2252
Unnecessary use of fully qualified name 'DataElement.VALUE' due to existing static import 'org.apache.commons.collections4.bidimap.TreeBidiMap.DataElement.VALUE' 4 2257

org/apache/commons/collections4/comparators/BooleanComparator.java

Violation Priority Line
Useless parentheses. 4 144
Useless parentheses. 4 144
Useless parentheses. 4 144
Useless parentheses. 4 174
Useless parentheses. 4 175
Useless parentheses. 4 175176
Useless parentheses. 4 176

org/apache/commons/collections4/functors/AllPredicate.java

Violation Priority Line
Unnecessary use of fully qualified name 'FunctorUtils.validate' due to existing static import 'org.apache.commons.collections4.functors.FunctorUtils.validate' 4 55

org/apache/commons/collections4/functors/InstantiateTransformer.java

Violation Priority Line
Useless parentheses. 4 68
Useless parentheses. 4 68
Useless parentheses. 4 68
Useless parentheses. 4 69
Useless parentheses. 4 69
Useless parentheses. 4 69
Useless parentheses. 4 70
Useless parentheses. 4 70
Useless parentheses. 4 70
Useless parentheses. 4 70

org/apache/commons/collections4/functors/InvokerTransformer.java

Violation Priority Line
Useless parentheses. 4 78
Useless parentheses. 4 78
Useless parentheses. 4 78
Useless parentheses. 4 79
Useless parentheses. 4 79
Useless parentheses. 4 79
Useless parentheses. 4 80
Useless parentheses. 4 80
Useless parentheses. 4 80
Useless parentheses. 4 80

org/apache/commons/collections4/iterators/NodeListIterator.java

Violation Priority Line
Ternary operators that can be simplified with || or && 3 70

org/apache/commons/collections4/iterators/PeekingIterator.java

Violation Priority Line
Ternary operators that can be simplified with || or && 3 100

org/apache/commons/collections4/iterators/PermutationIterator.java

Violation Priority Line
Useless parentheses. 4 117
Useless parentheses. 4 118

org/apache/commons/collections4/iterators/PushbackIterator.java

Violation Priority Line
Ternary operators that can be simplified with || or && 3 91

org/apache/commons/collections4/list/AbstractLinkedList.java

Violation Priority Line
Ternary operators that can be simplified with || or && 3 438
Useless qualified this usage in the same class. 3 1015
Useless qualified this usage in the same class. 3 1025
Useless qualified this usage in the same class. 3 1046

org/apache/commons/collections4/map/AbstractReferenceMap.java

Violation Priority Line
Ensure you override both equals() and hashCode() 3 961
Ensure you override both equals() and hashCode() 3 979

org/apache/commons/collections4/map/DefaultedMap.java

Violation Priority Line
Useless parentheses. 4 203
Useless parentheses. 4 203

org/apache/commons/collections4/map/StaticBucketMap.java

Violation Priority Line
Useless parentheses. 4 160
Useless parentheses. 4 161
Useless parentheses. 4 162
Useless parentheses. 4 164
Useless parentheses. 4 166
Useless parentheses. 4 194
Useless parentheses. 4 211
Useless parentheses. 4 235
Useless parentheses. 4 258
Useless parentheses. 4 299
Useless parentheses. 4 332
Useless parentheses. 4 472473
Useless parentheses. 4 487488
Useless parentheses. 4 655
Useless parentheses. 4 655
Useless parentheses. 4 655

org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java

Violation Priority Line
Ternary operators that can be simplified with || or && 3 464
Ternary operators that can be simplified with || or && 3 470
Ternary operators that can be simplified with || or && 3 476