From 26676947327f9b251dad4bcb2c454282b9325dd2 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Sun, 30 Dec 2018 20:15:14 +1300 Subject: [PATCH 1/3] Fix checkstyle issue (trailing spaces) --- src/main/java/org/apache/commons/collections4/SetUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/collections4/SetUtils.java b/src/main/java/org/apache/commons/collections4/SetUtils.java index 673b7bad1..0ed6a1ec3 100644 --- a/src/main/java/org/apache/commons/collections4/SetUtils.java +++ b/src/main/java/org/apache/commons/collections4/SetUtils.java @@ -97,7 +97,7 @@ public class SetUtils { return set; } } - + /** * An empty unmodifiable sorted set. * This is not provided in the JDK. From 66a12849c7b9a59d699b63499c2af18d2a8808c1 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Sun, 30 Dec 2018 20:15:49 +1300 Subject: [PATCH 2/3] Fix checkstyle issue (remove unused import) --- .../java/org/apache/commons/collections4/list/SetUniqueList.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java b/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java index b00b2d2f2..bbf16e001 100644 --- a/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java +++ b/src/main/java/org/apache/commons/collections4/list/SetUniqueList.java @@ -16,7 +16,6 @@ */ package org.apache.commons.collections4.list; -import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Collection; From ba66f76a13214ea6b7a78f7b7f3e07143dea3847 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Sun, 30 Dec 2018 20:16:41 +1300 Subject: [PATCH 3/3] Fix PMD issue (unnecessary private modifier in enum constructor) --- .../apache/commons/collections4/map/AbstractReferenceMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java b/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java index 4f4727f33..8e5ac2423 100644 --- a/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java +++ b/src/main/java/org/apache/commons/collections4/map/AbstractReferenceMap.java @@ -111,7 +111,7 @@ public abstract class AbstractReferenceMap extends AbstractHashedMap } } - private ReferenceStrength(final int value) { + ReferenceStrength(final int value) { this.value = value; }