b193bb28d8
git-subtree-dir: docs git-subtree-mainline: 23545aa7ea599faf17737de9879733a1bde700d1 git-subtree-split: 106142b25c9387ffd002437027ced1b04f494205
57 lines
3.3 KiB
Markdown
57 lines
3.3 KiB
Markdown
---
|
|
title: Release Notes 5.4.1
|
|
tags: [release_notes]
|
|
keywords: release notes, announcements, what's new, new features
|
|
last_updated: December 4, 2015
|
|
summary: "Version 5.4.1 of the PMD Open Source Project, released December 4, 2015."
|
|
sidebar: mydoc_sidebar
|
|
permalink: 2015-12-04-release-notes-5-4-1.html
|
|
folder: mydoc
|
|
---
|
|
|
|
## Feature Request and Improvements
|
|
|
|
* CPD: New command line parameter <tt>--ignore-usings</tt>: Ignore using directives in C# when comparing text.
|
|
|
|
## Modified Rules
|
|
|
|
* java-comments/CommentRequired: New property <tt>serialVersionUIDCommentRequired</tt> which controls the comment requirements for _serialVersionUID_ fields. By default, no comment is required for this field.
|
|
|
|
## Pull Requests
|
|
|
|
* [#25](https://github.com/adangel/pmd/pull/25): Added option to exclude C# using directives from CPD analysis
|
|
* [#72](https://github.com/pmd/pmd/pull/72): Added capability in Java and JSP parser for tracking tokens.
|
|
* [#74](https://github.com/pmd/pmd/pull/74): Fix rendering CommentDefaultAccessModifier description as code
|
|
* [#75](https://github.com/pmd/pmd/pull/75): RuleSetFactory Performance Enhancement
|
|
|
|
## Bugfixes
|
|
|
|
* java-comments/CommentDefaultAccessModifier
|
|
* [#1430](https://sourceforge.net/p/pmd/bugs/1430/): CommentDefaultAccessModifier triggers on field annotated with @VisibleForTesting
|
|
* java-comments/CommentRequired
|
|
* [#1434](https://sourceforge.net/p/pmd/bugs/1434/): CommentRequired raises violation on serialVersionUID field
|
|
* java-design/UseNotifyAllInsteadOfNotify
|
|
* [#1438](https://sourceforge.net/p/pmd/bugs/1438/): UseNotifyAllInsteadOfNotify gives false positive
|
|
* java-finalizers/AvoidCallingFinalize
|
|
* [#1440](https://sourceforge.net/p/pmd/bugs/1440/): NPE in AvoidCallingFinalize
|
|
* java-imports/UnnecessaryFullyQualifiedName
|
|
* [#1436](https://sourceforge.net/p/pmd/bugs/1436/): UnnecessaryFullyQualifiedName false positive on clashing static imports with enums
|
|
* java-junit/JUnitAssertionsShouldIncludeMessage
|
|
* [#1373](https://sourceforge.net/p/pmd/bugs/1373/): JUnitAssertionsShouldIncludeMessage is no longer compatible with TestNG
|
|
* java-migrating/JUnit4TestShouldUseBeforeAnnotation
|
|
* [#1446](https://sourceforge.net/p/pmd/bugs/1446/): False positive with JUnit4TestShouldUseBeforeAnnotation when TestNG is used
|
|
* java-naming/SuspiciousEqualsMethodName
|
|
* [#1431](https://sourceforge.net/p/pmd/bugs/1431/): SuspiciousEqualsMethodName false positive
|
|
* java-optimizations/RedundantFieldInitializer
|
|
* [#1443](https://sourceforge.net/p/pmd/bugs/1443/): RedundantFieldInitializer: False positive for small floats
|
|
* java-unnecessary/UselessQualifiedThis
|
|
* [#1422](https://sourceforge.net/p/pmd/bugs/1422/): UselessQualifiedThis: False positive with Java 8 Function
|
|
* java-unusedcode/UnusedPrivateField
|
|
* [#1428](https://sourceforge.net/p/pmd/bugs/1428/): False positive in UnusedPrivateField when local variable hides member variable
|
|
* General
|
|
* [#1425](https://sourceforge.net/p/pmd/bugs/1425/): Invalid XML Characters in Output
|
|
* [#1429](https://sourceforge.net/p/pmd/bugs/1429/): Java - Parse Error: Cast in return expression
|
|
* [#1441](https://sourceforge.net/p/pmd/bugs/1441/): PMD: Update documentation how to compile after modularization
|
|
|
|
{% include links.html %}
|