View by Classes

Findings - Overview

code-style NonStaticInitializer (PMD)

Non-static initializers are confusing

Further info on the wiki.
A nonstatic initializer block will be called any time a constructor is invoked (just prior to invoking the constructor). While this is a valid language construct, it is rarely used and is confusing.
   
public class MyClass {
 // this block gets run before any call to a constructor
 {
  System.out.println("I am about to construct myself");
 }
}
   
       

Additional info can be found at this http://pmd.sourceforge.net/rules/design.html#NonStaticInitializer site.

1org.jcoderz.phoenix.dbview.DbView
 [99:4]