Update changelog, refs #1761

This commit is contained in:
Juan Martín Sotuyo Dodero
2019-04-10 16:17:25 -03:00
parent 7b78ac75d0
commit ee227019aa
2 changed files with 12 additions and 1 deletions

View File

@ -14,6 +14,16 @@ This is a {{ site.pmd.release_type }} release.
### New and noteworthy
#### Dart support
Thanks to the contribution from [Maikel Steneker](https://github.com/maikelsteneker), and built on top of the ongoing efforts to fully support Antlr-based languages,
PMD now has CPD support for [Dart](https://www.dartlang.org/).
Being based on a proper Antlr grammar, CPD can:
* ignore comments
* ignore imports / libraries
* honor [comment-based suppressions](pmd_userdocs_cpd.html#suppression)
### Fixed Issues
* java
@ -27,6 +37,7 @@ This is a {{ site.pmd.release_type }} release.
* [#1745](https://github.com/pmd/pmd/pull/1745): \[doc] Fixed some errors in docs - [0xflotus](https://github.com/0xflotus)
* [#1746](https://github.com/pmd/pmd/pull/1746): \[java] Update rule to prevent UnusedImport when using JavaDoc with array type - [itaigilo](https://github.com/itaigilo)
* [#1761](https://github.com/pmd/pmd/pull/1761): \[dart] \[cpd] Added CPD support for Dart - [Maikel Steneker](https://github.com/maikelsteneker)
{% endtocmaker %}

View File

@ -32,7 +32,7 @@ public class DartTokenizer extends AntlrTokenizer {
* Dart-specific tokens.
* <p>
* By default, it discards package and import statements, and
* enables annotation-based CPD suppression.
* enables comment-based CPD suppression.
* </p>
*/
private static class DartTokenFilter extends AntlrTokenFilter {