diff --git a/src/site/markdown/overview/changelog.md b/src/site/markdown/overview/changelog.md index 365471b227..58f8c1e83c 100644 --- a/src/site/markdown/overview/changelog.md +++ b/src/site/markdown/overview/changelog.md @@ -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