org.jcoderz.phoenix.report.samples
Class SimplePmdFindings

java.lang.Object
  extended by org.jcoderz.phoenix.report.samples.SimplePmdFindings

public final class SimplePmdFindings
extends Object

This class is used to trigger PMD finders.

Author:
Andreas Mandel

Field Summary
static int sNoneFinalStatic
          Used to test the finder.
static BigDecimal TEST
          Trigger PMD basic/AvoidDecimalLiteralsInBigDecimalConstructor.
 
Method Summary
 void bool()
          Trigger method for findings.
 void design()
          Trigger method for findings.
 void doSomething()
          Trigger PMD design/UncommentedEmptyMethod.
 int foo()
          Trigger PMD design.xml/UnnecessaryLocalBeforeReturn.
 Object getSingleton()
          Trigger method for findings.
 void sampleMethod()
          Trigger method for findings.
 String toString()
          Trigger PMD basic/UselessOverridingMethod.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sNoneFinalStatic

public static int sNoneFinalStatic
Used to test the finder.


TEST

public static final BigDecimal TEST
Trigger PMD basic/AvoidDecimalLiteralsInBigDecimalConstructor.

Method Detail

sampleMethod

public void sampleMethod()
Trigger method for findings.


doSomething

public void doSomething()
Trigger PMD design/UncommentedEmptyMethod.


bool

public void bool()
Trigger method for findings.


design

public void design()
Trigger method for findings.


getSingleton

public Object getSingleton()
Trigger method for findings.

Returns:
a singleton object.

toString

public String toString()
Trigger PMD basic/UselessOverridingMethod.

Overrides:
toString in class Object
Returns:
a String.

foo

public int foo()
Trigger PMD design.xml/UnnecessaryLocalBeforeReturn.

Returns:
97


Copyright 2007 The jCoderZ Project.