[doc] fix typos
This commit is contained in:
@ -23,7 +23,7 @@ author: Jeff Jensen <jjensen@apache.org>, Andreas Dangel <andreas.dangel@adangel
|
|||||||
* Suboptimal code - wasteful String/StringBuffer usage
|
* Suboptimal code - wasteful String/StringBuffer usage
|
||||||
* Overcomplicated expressions - unnecessary if statements, for loops that could be while loops
|
* Overcomplicated expressions - unnecessary if statements, for loops that could be while loops
|
||||||
|
|
||||||
**CPD**, the copy-pase-detector, finds duplicated code in many languages:
|
**CPD**, the copy-paste-detector, finds duplicated code in many languages:
|
||||||
|
|
||||||
* Duplicate code is often just copied and pasted. This means, the bugs are also copied and pasted. Fixing
|
* Duplicate code is often just copied and pasted. This means, the bugs are also copied and pasted. Fixing
|
||||||
them means, fix all duplicated code locations.
|
them means, fix all duplicated code locations.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
title: Understanding Rulesets
|
title: Understanding Rulesets
|
||||||
permalink: pmd_userdocs_understanding_rulesets.html
|
permalink: pmd_userdocs_understanding_rulesets.html
|
||||||
summary: Rulesets are collections of rules
|
summary: Rulesets are collections of rules
|
||||||
last_updated: August 2017
|
last_updated: September 2017
|
||||||
---
|
---
|
||||||
|
|
||||||
There are two major use cases:
|
There are two major use cases:
|
||||||
|
Reference in New Issue
Block a user