Skip to content

Commit

Permalink
fix pmd warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
keithwoodlock committed Jul 16, 2010
1 parent 877929b commit dc527e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
<rule ref="rulesets/codesize.xml/ExcessiveParameterList"/>
<rule ref="rulesets/codesize.xml/ExcessiveClassLength"/>
<rule ref="rulesets/codesize.xml/CyclomaticComplexity"/>
<rule ref="rulesets/codesize.xml/ExcessivePublicCount"/>
<!-- <rule ref="rulesets/codesize.xml/ExcessivePublicCount"/> ignored as could not suppress using pmd annotation and wasn't valid for form backing beans in userInterfaces module -keithw- -->
<rule ref="rulesets/codesize.xml/TooManyFields"/>
<rule ref="rulesets/codesize.xml/NcssMethodCount"/>
<rule ref="rulesets/codesize.xml/NcssTypeCount"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
integration.database=mifos
integration.database.host=localhost
integration.database.port=3306
integration.database.user=root
integration.database.password=admin
integration.database.user=mifos
integration.database.password=mifos
# Hibernate doesn't like &amp; separators
integration.database.params=useUnicode=true&characterEncoding=UTF-8
integration.database.driver=com.mysql.jdbc.Driver
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

package org.mifos.dto.domain;

@SuppressWarnings("PMD.TooManyFields") // is not applicable for data forms
public class ConfigurableLookupLabelDto {

private String client;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;

@SuppressWarnings({"PMD.ExcessivePublicCount", "PMD.TooManyFields"})
@edu.umd.cs.findbugs.annotations.SuppressWarnings(value="EQ_UNUSUAL", justification="using commons equals builder")
public class ConfigureApplicationLabelsFormBean {

Expand Down

0 comments on commit dc527e2

Please sign in to comment.