From 134de93257cb69e50fc0fae3e65a28cff81b5047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mart=C3=ADn=20Sotuyo=20Dodero?= Date: Fri, 7 Jul 2017 15:04:15 -0300 Subject: [PATCH] Update changelog, be more explicit on Apex CPD changes --- src/site/markdown/overview/changelog.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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