The following document contains the results of FindBugs Report
FindBugs Version is 2.0.0
Threshold is
Effort is min
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Found reliance on default encoding in org.apache.commons.collections.ExtendedProperties.save(OutputStream, String): new java.io.PrintWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 741 | High |
| org.apache.commons.collections.ExtendedProperties doesn't override java.util.Hashtable.equals(Object) | STYLE | EQ_DOESNT_OVERRIDE_EQUALS | 885-914 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Inconsistent synchronization of org.apache.commons.collections.bidimap.UnmodifiableBidiMap.inverse; locked 80% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 129 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unwritten public or protected field: org.apache.commons.collections.collection.AbstractUntypedCollectionDecorator.collection | STYLE | UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD | 66 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.commons.collections.functors.ChainedClosure(Closure[]) may expose internal representation by storing an externally mutable object into ChainedClosure.iClosures | MALICIOUS_CODE | EI_EXPOSE_REP2 | 92 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.commons.collections.functors.ChainedTransformer(Transformer[]) may expose internal representation by storing an externally mutable object into ChainedTransformer.iTransformers | MALICIOUS_CODE | EI_EXPOSE_REP2 | 91 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Class org.apache.commons.collections.functors.EqualPredicate defines non-transient non-serializable instance field equator | BAD_PRACTICE | SE_BAD_FIELD | Not available | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.commons.collections.functors.InstantiateTransformer(Class[], Object[]) may expose internal representation by storing an externally mutable object into InstantiateTransformer.iArgs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 97 | Medium |
| new org.apache.commons.collections.functors.InstantiateTransformer(Class[], Object[]) may expose internal representation by storing an externally mutable object into InstantiateTransformer.iParamTypes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 96 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.commons.collections.functors.InvokerTransformer(String, Class[], Object[]) may expose internal representation by storing an externally mutable object into InvokerTransformer.iArgs | MALICIOUS_CODE | EI_EXPOSE_REP2 | 113 | Medium |
| new org.apache.commons.collections.functors.InvokerTransformer(String, Class[], Object[]) may expose internal representation by storing an externally mutable object into InvokerTransformer.iParamTypes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 112 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.commons.collections.functors.SwitchClosure(Predicate[], Closure[], Closure) may expose internal representation by storing an externally mutable object into SwitchClosure.iClosures | MALICIOUS_CODE | EI_EXPOSE_REP2 | 123 | Medium |
| new org.apache.commons.collections.functors.SwitchClosure(Predicate[], Closure[], Closure) may expose internal representation by storing an externally mutable object into SwitchClosure.iPredicates | MALICIOUS_CODE | EI_EXPOSE_REP2 | 122 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.commons.collections.functors.SwitchTransformer(Predicate[], Transformer[], Transformer) may expose internal representation by storing an externally mutable object into SwitchTransformer.iPredicates | MALICIOUS_CODE | EI_EXPOSE_REP2 | 135 | Medium |
| new org.apache.commons.collections.functors.SwitchTransformer(Predicate[], Transformer[], Transformer) may expose internal representation by storing an externally mutable object into SwitchTransformer.iTransformers | MALICIOUS_CODE | EI_EXPOSE_REP2 | 136 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.commons.collections.iterators.ObjectArrayIterator.getArray() may expose internal representation by returning ObjectArrayIterator.array | MALICIOUS_CODE | EI_EXPOSE_REP | 159 | Medium |
| new org.apache.commons.collections.iterators.ObjectArrayIterator(Object[], int, int) may expose internal representation by storing an externally mutable object into ObjectArrayIterator.array | MALICIOUS_CODE | EI_EXPOSE_REP2 | 107 | Medium |
| org.apache.commons.collections.iterators.ObjectArrayIterator.setArray(Object[]) may expose internal representation by storing an externally mutable object into ObjectArrayIterator.array | MALICIOUS_CODE | EI_EXPOSE_REP2 | 178 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| new org.apache.commons.collections.keyvalue.MultiKey(Object[], boolean) may expose internal representation by storing an externally mutable object into MultiKey.keys | MALICIOUS_CODE | EI_EXPOSE_REP2 | 165 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Unread field: org.apache.commons.collections.map.AbstractReferenceMap$ReferenceBaseIterator.currentValue | PERFORMANCE | URF_UNREAD_FIELD | 795 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.commons.collections.map.Flat3Map$EntrySetIterator is both an Iterator and a Map.Entry | BAD_PRACTICE | PZ_DONT_REUSE_ENTRY_OBJECTS_IN_ITERATORS | 861-902 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.commons.collections.map.Flat3Map$KeySetIterator is both an Iterator and a Map.Entry | BAD_PRACTICE | PZ_DONT_REUSE_ENTRY_OBJECTS_IN_ITERATORS | 972-977 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.commons.collections.map.Flat3Map$ValuesIterator is both an Iterator and a Map.Entry | BAD_PRACTICE | PZ_DONT_REUSE_ENTRY_OBJECTS_IN_ITERATORS | 1040-1045 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Vacuous comparison of integer value org.apache.commons.collections.trie.AbstractKeyAnalyzer.isValidBitIndex(int) | STYLE | INT_VACUOUS_COMPARISON | 70 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Ambiguous invocation of either an outer or inherited method org.apache.commons.collections.trie.PatriciaTrie$RangeMap.entrySet() in org.apache.commons.collections.trie.PatriciaTrie$PrefixRangeMap.fixup() | STYLE | IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD | 1115 | Medium |