forked from phoedos/pmd
Update changelog, be more explicit on Apex CPD changes
This commit is contained in:
@ -9,6 +9,7 @@ This is a major release.
|
||||
### Table Of Contents
|
||||
|
||||
* [New and noteworthy](#New_and_noteworthy)
|
||||
* [Revamped Apex CPD](#Revamped_Apex_CPD)
|
||||
* [Removed Rules](#Removed_Rules)
|
||||
* [Fixed Issues](#Fixed_Issues)
|
||||
* [API Changes](#API_Changes)
|
||||
@ -16,6 +17,15 @@ This is a major release.
|
||||
|
||||
### New and noteworthy
|
||||
|
||||
#### Revamped Apex CPD
|
||||
|
||||
We are now using the Apex jorje lexer to tokenize Apex code for CPD. This change means:
|
||||
|
||||
* All comments are now ignored for CPD. This is consistent with how other languages such as Java and Groovy work.
|
||||
* Tokenization honors the language specification, which improves accurancy.
|
||||
|
||||
CPD will therefore have less false positives and false negatives.
|
||||
|
||||
#### Removed Rules
|
||||
|
||||
* The deprecated rule `UseSingleton` has been removed from the ruleset `java-design`. The rule has been renamed
|
||||
|
Reference in New Issue
Block a user