From 1e57244dc1de94b87a89408c4495c49b826f21af Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 26 Jan 2020 17:29:45 -0500 Subject: [PATCH] Remove redundant semicolons. --- .../collections4/bloomfilter/hasher/HashFunctionIdentity.java | 4 ++-- .../commons/collections4/collection/PredicatedCollection.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/collections4/bloomfilter/hasher/HashFunctionIdentity.java b/src/main/java/org/apache/commons/collections4/bloomfilter/hasher/HashFunctionIdentity.java index b33671cab..4a2035f63 100644 --- a/src/main/java/org/apache/commons/collections4/bloomfilter/hasher/HashFunctionIdentity.java +++ b/src/main/java/org/apache/commons/collections4/bloomfilter/hasher/HashFunctionIdentity.java @@ -98,7 +98,7 @@ public interface HashFunctionIdentity { */ enum Signedness { SIGNED, UNSIGNED - }; + } /** * An enum that identifies the process type of this function.
Iterative @@ -110,7 +110,7 @@ public interface HashFunctionIdentity { */ enum ProcessType { CYCLIC, ITERATIVE - }; + } /** * Gets the name of this hash function. diff --git a/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java b/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java index 723598b9c..005dc285a 100644 --- a/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java +++ b/src/main/java/org/apache/commons/collections4/collection/PredicatedCollection.java @@ -123,7 +123,7 @@ public class PredicatedCollection extends AbstractCollectionDecorator { */ protected PredicatedCollection(final Collection collection, final Predicate predicate) { super(collection); - this.predicate = Objects.requireNonNull(predicate, "predicate");; + this.predicate = Objects.requireNonNull(predicate, "predicate"); for (final E item : collection) { validate(item); }