diff --git a/regressions/pom.xml b/regressions/pom.xml
index 24f9dd5..6af0db7 100644
--- a/regressions/pom.xml
+++ b/regressions/pom.xml
@@ -13,7 +13,7 @@
Kemitix Checkstyle :: Ruleset :: Regression Tests
- ${project.version}
+
0-disabled
net.kemitix.checkstyle.regressions
true
@@ -29,7 +29,6 @@
-
diff --git a/regressions/src/main/java/net/kemitix/checkstyle/regressions/AvoidDefaultSerializableInInnerClasses.java b/regressions/src/main/java/net/kemitix/checkstyle/regressions/AvoidDefaultSerializableInInnerClasses.java
index 1ac2c72..51f1157 100644
--- a/regressions/src/main/java/net/kemitix/checkstyle/regressions/AvoidDefaultSerializableInInnerClasses.java
+++ b/regressions/src/main/java/net/kemitix/checkstyle/regressions/AvoidDefaultSerializableInInnerClasses.java
@@ -33,7 +33,6 @@ public class AvoidDefaultSerializableInInnerClasses {
/**
* Inner class should not use default implementations of {@code readObject()} and {@code writeObject()}.
*/
- @SuppressWarnings("avoiddefaultserializableininnerclasses")
public class InnerClass implements Serializable {
}
diff --git a/regressions/src/main/java/net/kemitix/checkstyle/regressions/Basic.java b/regressions/src/main/java/net/kemitix/checkstyle/regressions/Basic.java
index 050b9c6..f269c44 100644
--- a/regressions/src/main/java/net/kemitix/checkstyle/regressions/Basic.java
+++ b/regressions/src/main/java/net/kemitix/checkstyle/regressions/Basic.java
@@ -22,7 +22,7 @@
package net.kemitix.checkstyle.regressions;
/**
- * Sample class.
+ * Sample class with no checkstyle issues.
*
* @author Paul Campbell (pcampbell@kemitix.net)
*/
diff --git a/regressions/src/main/java/net/kemitix/checkstyle/regressions/EmptyPublicCtorInClass.java b/regressions/src/main/java/net/kemitix/checkstyle/regressions/EmptyPublicCtorInClass.java
index 1ce63b0..0c49972 100644
--- a/regressions/src/main/java/net/kemitix/checkstyle/regressions/EmptyPublicCtorInClass.java
+++ b/regressions/src/main/java/net/kemitix/checkstyle/regressions/EmptyPublicCtorInClass.java
@@ -31,7 +31,6 @@ public class EmptyPublicCtorInClass {
/**
* Useless empty public constructors.
*/
- @SuppressWarnings("emptypublicctorinclass")
EmptyPublicCtorInClass() {
}
diff --git a/regressions/src/main/java/net/kemitix/checkstyle/regressions/ExplicitInitialization.java b/regressions/src/main/java/net/kemitix/checkstyle/regressions/ExplicitInitialization.java
index 8742195..9c20896 100644
--- a/regressions/src/main/java/net/kemitix/checkstyle/regressions/ExplicitInitialization.java
+++ b/regressions/src/main/java/net/kemitix/checkstyle/regressions/ExplicitInitialization.java
@@ -37,16 +37,12 @@ class ExplicitInitialization {
private Object validObject = new Object();
- @SuppressWarnings("explicitinitialization")
private Boolean invalidBoolean = null;
- @SuppressWarnings("explicitinitialization")
private Integer invalidInteger = null;
- @SuppressWarnings("explicitinitialization")
private String invalidString = null;
- @SuppressWarnings("explicitinitialization")
private Object invalidObject = null;
}
diff --git a/regressions/src/main/java/net/kemitix/checkstyle/regressions/FinalizeImplementation.java b/regressions/src/main/java/net/kemitix/checkstyle/regressions/FinalizeImplementation.java
index 738f7de..849afb7 100644
--- a/regressions/src/main/java/net/kemitix/checkstyle/regressions/FinalizeImplementation.java
+++ b/regressions/src/main/java/net/kemitix/checkstyle/regressions/FinalizeImplementation.java
@@ -31,7 +31,7 @@ class FinalizeImplementation {
/**
* Negates effect of superclass finalize.
*/
- @SuppressWarnings({"PMD.EmptyFinalizer", "nofinalizer", "finalizeimplementation"})
+ @SuppressWarnings("PMD.EmptyFinalizer")
protected void finalize() {
// doesn't call super.finalize()
}
diff --git a/regressions/src/main/java/net/kemitix/checkstyle/regressions/MoveVariableInsideIf.java b/regressions/src/main/java/net/kemitix/checkstyle/regressions/MoveVariableInsideIf.java
index 6e6151f..81c76d3 100644
--- a/regressions/src/main/java/net/kemitix/checkstyle/regressions/MoveVariableInsideIf.java
+++ b/regressions/src/main/java/net/kemitix/checkstyle/regressions/MoveVariableInsideIf.java
@@ -41,7 +41,6 @@ class MoveVariableInsideIf {
*
* @return value
*/
- @SuppressWarnings("movevariableinsideif")
protected String invalid() {
String variable = input.substring(1);
if (condition) {