View by Classes

Findings - Overview

code-style SimpleDateFormatNeedsLocale (PMD)

When instantiating a SimpleDateFormat object, specify a Locale

Further info on the wiki.
Be sure to specify a Locale when creating a new instance of SimpleDateFormat.
        
public class Foo {
 // Should specify Locale.US (or whatever)
 private SimpleDateFormat sdf = new SimpleDateFormat("pattern");
}
        
        

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

1org.jcoderz.phoenix.cmpgen2.LogFormatter
 [49:7]