You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/01/26 22:29:49 UTC
[commons-collections] branch master updated: Remove redundant
semicolons.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push:
new 1e57244 Remove redundant semicolons.
1e57244 is described below
commit 1e57244dc1de94b87a89408c4495c49b826f21af
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jan 26 17:29:45 2020 -0500
Remove redundant semicolons.
---
.../commons/collections4/bloomfilter/hasher/HashFunctionIdentity.java | 4 ++--
.../apache/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 b33671c..4a2035f 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. <dl> <dt>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 723598b..005dc28 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<E> extends AbstractCollectionDecorator<E> {
*/
protected PredicatedCollection(final Collection<E> collection, final Predicate<? super E> predicate) {
super(collection);
- this.predicate = Objects.requireNonNull(predicate, "predicate");;
+ this.predicate = Objects.requireNonNull(predicate, "predicate");
for (final E item : collection) {
validate(item);
}