PMD Results
The following document contains the results of PMD 4.3.
Files
org/apache/commons/collections/ExtendedProperties.java
| Violation | Line |
|---|
| Overriding method merely calls super | 403 - 405 |
| Avoid empty catch blocks | 470 |
| Avoid empty catch blocks | 532 - 534 |
| These nested if statements could be combined | 615 - 617 |
org/apache/commons/collections/IteratorUtils.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 1051 - 1053 |
| Avoid empty catch blocks | 1053 - 1055 |
| Avoid empty catch blocks | 1055 - 1057 |
| Avoid empty catch blocks | 1057 - 1059 |
org/apache/commons/collections/MapUtils.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 200 - 202 |
org/apache/commons/collections/bag/TransformedBag.java
| Violation | Line |
|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. | 79 |
org/apache/commons/collections/bag/TransformedSortedBag.java
| Violation | Line |
|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. | 80 |
org/apache/commons/collections/buffer/TransformedBuffer.java
| Violation | Line |
|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. | 80 |
org/apache/commons/collections/collection/TransformedCollection.java
| Violation | Line |
|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. | 87 |
org/apache/commons/collections/comparators/sequence/SequencesComparator.java
| Violation | Line |
|---|
| These nested if statements could be combined | 164 - 166 |
| These nested if statements could be combined | 190 - 192 |
org/apache/commons/collections/functors/PrototypeFactory.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 194 - 196 |
| Avoid empty catch blocks | 199 - 201 |
org/apache/commons/collections/iterators/FilterIterator.java
| Violation | Line |
|---|
| These nested if statements could be combined | 99 - 101 |
org/apache/commons/collections/iterators/FilterListIterator.java
| Violation | Line |
|---|
| These nested if statements could be combined | 130 - 132 |
| These nested if statements could be combined | 146 - 148 |
org/apache/commons/collections/iterators/ObjectGraphIterator.java
| Violation | Line |
|---|
| Avoid empty if statements | 140 - 142 |
| Avoid empty if statements | 193 - 195 |
| Avoid empty if statements | 195 - 197 |
org/apache/commons/collections/list/CursorableLinkedList.java
| Violation | Line |
|---|
| Avoid empty if statements | 434 - 439 |
org/apache/commons/collections/list/TransformedList.java
| Violation | Line |
|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. | 83 |
org/apache/commons/collections/map/AbstractReferenceMap.java
| Violation | Line |
|---|
| Avoid empty while statements | 295 |
| Ensure you override both equals() and hashCode() | 951 |
| Ensure you override both equals() and hashCode() | 969 |
org/apache/commons/collections/map/PassiveExpiringMap.java
| Violation | Line |
|---|
| Avoid unused constructor parameters such as 'timeUnit'. | 122 - 125 |
| Avoid unused method parameters such as 'now'. | 437 - 443 |
org/apache/commons/collections/map/StaticBucketMap.java
| Violation | Line |
|---|
| Unnecessary final modifier in final class | 153 - 166 |
org/apache/commons/collections/set/CompositeSet.java
| Violation | Line |
|---|
| Overriding method merely calls super | 154 - 156 |
org/apache/commons/collections/set/TransformedSet.java
| Violation | Line |
|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. | 79 |
org/apache/commons/collections/set/TransformedSortedSet.java
| Violation | Line |
|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. | 81 |
org/apache/commons/collections/trie/PatriciaTrieBase.java
| Violation | Line |
|---|
| These nested if statements could be combined | 194 - 197 |