You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2021/10/19 18:29:39 UTC
[mina-sshd] 12/14: Upgraded PMD version to 6.39.0
This is an automated email from the ASF dual-hosted git repository.
lgoldstein pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit d106bd0a99685bde01f69321aced4753b35786f4
Author: Lyor Goldstein <lg...@apache.org>
AuthorDate: Tue Oct 19 20:08:47 2021 +0300
Upgraded PMD version to 6.39.0
---
pom.xml | 6 ++++--
sshd-pmd-ruleset.xml | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 19cc1c2..dd19096 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,6 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
@@ -121,7 +123,7 @@
<scm.plugin.version>1.11.2</scm.plugin.version>
<plexus.archiver.version>4.2.5</plexus.archiver.version>
<!-- See https://pmd.github.io/ for available latest version -->
- <pmd.version>6.36.0</pmd.version>
+ <pmd.version>6.39.0</pmd.version>
<sshd.tests.timeout.factor>1.0</sshd.tests.timeout.factor>
<sshd.tests.rerun.count>2</sshd.tests.rerun.count>
diff --git a/sshd-pmd-ruleset.xml b/sshd-pmd-ruleset.xml
index 42ef084..53d49db 100644
--- a/sshd-pmd-ruleset.xml
+++ b/sshd-pmd-ruleset.xml
@@ -48,7 +48,6 @@
<rule ref="category/java/documentation.xml/UncommentedEmptyMethodBody" />
<rule ref="category/java/documentation.xml/UncommentedEmptyConstructor" />
- <rule ref="category/java/performance.xml/BooleanInstantiation" />
<rule ref="category/java/performance.xml/AppendCharacterWithChar" />
<!-- rule ref="category/java/performance.xml/ConsecutiveLiteralAppends" / -->
<rule ref="category/java/performance.xml/StringInstantiation" />
@@ -59,4 +58,5 @@
<!-- rule ref="category/java/bestpractices.xml/MethodReturnsInternalArray" / -->
<rule ref="category/java/bestpractices.xml/AvoidPrintStackTrace" />
<rule ref="category/java/bestpractices.xml/MissingOverride" />
+ <rule ref="category/java/bestpractices.xml/PrimitiveWrapperInstantiation" />
</ruleset>