The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is low
Effort is max
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
instanceof will always return true for all non-null values in org.opendaylight.lispflowmapping.inmemorydb.HashMapDb$1.visitRow(Object, String, Object), since all String are instances of String | STYLE | BC_VACUOUS_INSTANCEOF | 205 | Medium |
org.opendaylight.lispflowmapping.inmemorydb.HashMapDb$1.visitRow(Object, String, Object) does an unnecessary type check using instanceof operator when it can be determined statically | CORRECTNESS | SIO_SUPERFLUOUS_INSTANCEOF | 205 | Low |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.opendaylight.lispflowmapping.inmemorydb.radixtrie.RadixTrie$TrieNode.prefix() may expose internal representation by returning RadixTrie$TrieNode.prefix | MALICIOUS_CODE | EI_EXPOSE_REP | 309 | Medium |
org.opendaylight.lispflowmapping.inmemorydb.radixtrie.RadixTrie$TrieNode.insert(byte[], int, int, Object, byte[]) may expose internal representation by storing an externally mutable object into RadixTrie$TrieNode.prefix | MALICIOUS_CODE | EI_EXPOSE_REP2 | 411 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.opendaylight.lispflowmapping.inmemorydb.radixtrie.RadixTrie$TrieNode$TriePostOrderIterator.next() can't throw NoSuchElementException | BAD_PRACTICE | IT_NO_SUCH_ELEMENT | 613 | Low |