Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
TRAVIS_JOB_NUMBER=3149.1
TRAVIS_COMMIT_RANGE=727bab242bf2...84c3c1f
  • Loading branch information
pmd-bot committed Dec 2, 2018
1 parent 84c3c1f commit 178c9a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages/pmd/rules/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ folder: pmd/rules
* [ExcessivePublicCount](pmd_rules_java_design.html#excessivepubliccount): Classes with large numbers of public methods and attributes require disproportionate testing effo...
* [FinalFieldCouldBeStatic](pmd_rules_java_design.html#finalfieldcouldbestatic): If a final field is assigned to a compile-time constant, it could be made static, thus saving ove...
* [GodClass](pmd_rules_java_design.html#godclass): The God Class rule detects the God Class design flaw using metrics. God classes do too many thing...
* [ImmutableField](pmd_rules_java_design.html#immutablefield): Identifies private fields whose values never change once they are initialized either in the decla...
* [ImmutableField](pmd_rules_java_design.html#immutablefield): Identifies private fields whose values never change once object initialization ends either in the...
* [LawOfDemeter](pmd_rules_java_design.html#lawofdemeter): The Law of Demeter is a simple rule, that says "only talk to friends". It helps to reduce couplin...
* [LogicInversion](pmd_rules_java_design.html#logicinversion): Use opposite operator instead of negating the whole expression with a logic complement operator.
* [LoosePackageCoupling](pmd_rules_java_design.html#loosepackagecoupling): Avoid using classes from the configured package hierarchy outside of the package hierarchy, excep...
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/pmd/rules/java/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ of Object-Oriented Systems. Springer, Berlin, 1 edition, October 2006. Page 80.

**Priority:** Medium (3)

Identifies private fields whose values never change once they are initialized either in the declaration
Identifies private fields whose values never change once object initialization ends either in the declaration
of the field or by a constructor. This helps in converting existing classes to becoming immutable ones.

**This rule is defined by the following Java class:** [net.sourceforge.pmd.lang.java.rule.design.ImmutableFieldRule](https://github.com/pmd/pmd/blob/master/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/ImmutableFieldRule.java)
Expand Down

0 comments on commit 178c9a8

Please sign in to comment.