|
https://git.opendaylight.org/gerrit/22563 (master)
https://git.opendaylight.org/gerrit/22664 (stable/lithium)
- Unused private fields should be removed
- Unused local variables should be removed
- Avoid Throwing Null Pointer Exception
- Constructor Calls Overridable Method
- Try-catch blocks should not be nested
- Collapsible "if" statements should be merged
- Utility classes should not have a public constructor
- Unused formal parameter
- Unnecessary Local Before Return
- Nested blocks of code should not be left empty
- Declarations should use Java collection interfaces such as "List"
rather than specific implementation classes such as "LinkedList"
- Generic exceptions Error, RuntimeException, Throwable and Exception
should never be thrown
|