[java-metadata-aggregator] 01/02: Remove redundant "public" specifiers
Ian Young
ian at iay.org.uk
Sat Apr 11 10:17:04 EDT 2020
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch master
in repository java-metadata-aggregator.
View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=90b7eb164623a0b7335a579acf4fd31164344c68
commit 90b7eb164623a0b7335a579acf4fd31164344c68
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Sat Apr 11 15:13:24 2020 +0100
Remove redundant "public" specifiers
---
.../java/net/shibboleth/metadata/CollectionMergeStrategy.java | 4 ++--
.../src/main/java/net/shibboleth/metadata/Item.java | 8 ++++----
.../java/net/shibboleth/metadata/ItemCollectionSerializer.java | 2 +-
.../java/net/shibboleth/metadata/ItemIdentificationStrategy.java | 4 ++--
.../src/main/java/net/shibboleth/metadata/ItemSerializer.java | 2 +-
.../src/main/java/net/shibboleth/metadata/dom/AttrVisitor.java | 2 +-
.../src/main/java/net/shibboleth/metadata/dom/ElementVisitor.java | 2 +-
.../src/main/java/net/shibboleth/metadata/dom/NodeVisitor.java | 2 +-
.../src/main/java/net/shibboleth/metadata/pipeline/Stage.java | 4 ++--
.../src/main/java/net/shibboleth/metadata/validate/Validator.java | 4 ++--
10 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/CollectionMergeStrategy.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/CollectionMergeStrategy.java
index 80ecf65..d7a1163 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/CollectionMergeStrategy.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/CollectionMergeStrategy.java
@@ -34,6 +34,6 @@ public interface CollectionMergeStrategy {
* @param sources collections of Items to be merged in to the target, never null not containing any null elements
* @param <T> type of data contained in the items
*/
- public <T> void mergeCollection(@Nonnull @NonnullElements final Collection<Item<T>> target,
+ <T> void mergeCollection(@Nonnull @NonnullElements final Collection<Item<T>> target,
@Nonnull @NonnullElements final List<Collection<Item<T>>> sources);
-}
\ No newline at end of file
+}
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/Item.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/Item.java
index 57bc046..770c7d1 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/Item.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/Item.java
@@ -36,14 +36,14 @@ public interface Item<T> extends Serializable {
*
* @return the wrapped item data
*/
- @Nullable public T unwrap();
+ @Nullable T unwrap();
/**
* Gets all of the metadata attached to this Item.
*
* @return metadata attached to this Item
*/
- @Nonnull public ClassToInstanceMultiMap<ItemMetadata> getItemMetadata();
+ @Nonnull ClassToInstanceMultiMap<ItemMetadata> getItemMetadata();
/**
* Performs a copy of this Item. All member fields, except {@link ItemMetadata}, should be deep cloned.
@@ -51,5 +51,5 @@ public interface Item<T> extends Serializable {
*
* @return the clone of this element
*/
- @Nonnull public Item<T> copy();
-}
\ No newline at end of file
+ @Nonnull Item<T> copy();
+}
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemCollectionSerializer.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemCollectionSerializer.java
index 263ed89..a720e10 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemCollectionSerializer.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemCollectionSerializer.java
@@ -41,7 +41,7 @@ public interface ItemCollectionSerializer<T> {
*
* @throws IOException if an I/O exception occurs during serialization
*/
- public void serializeCollection(@Nonnull Collection<Item<T>> items, @Nonnull OutputStream output)
+ void serializeCollection(@Nonnull Collection<Item<T>> items, @Nonnull OutputStream output)
throws IOException;
}
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemIdentificationStrategy.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemIdentificationStrategy.java
index 9e7a06a..1a3de26 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemIdentificationStrategy.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemIdentificationStrategy.java
@@ -29,6 +29,6 @@ public interface ItemIdentificationStrategy {
*
* @return the identifier, never null
*/
- public String getItemIdentifier(@Nonnull final Item<?> item);
+ String getItemIdentifier(@Nonnull final Item<?> item);
-}
\ No newline at end of file
+}
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemSerializer.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemSerializer.java
index 1eb4b1f..aff33e5 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemSerializer.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/ItemSerializer.java
@@ -40,6 +40,6 @@ public interface ItemSerializer<T> {
*
* @throws IOException if an I/O exception occurs during serialization
*/
- public void serialize(@Nonnull Item<T> item, @Nonnull OutputStream output)
+ void serialize(@Nonnull Item<T> item, @Nonnull OutputStream output)
throws IOException;
}
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/AttrVisitor.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/AttrVisitor.java
index 64ba1f6..907db0c 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/AttrVisitor.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/AttrVisitor.java
@@ -35,6 +35,6 @@ public interface AttrVisitor {
* @param visited the {@link Attr} being visited.
* @param item the {@link Item} which is the context for the visit.
*/
- public void visitAttr(Attr visited, Item<Element> item);
+ void visitAttr(Attr visited, Item<Element> item);
}
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/ElementVisitor.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/ElementVisitor.java
index 31b0d1c..637334d 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/ElementVisitor.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/ElementVisitor.java
@@ -34,6 +34,6 @@ public interface ElementVisitor {
* @param visited the {@link Element} being visited.
* @param item the {@link Item} which is the context for the visit.
*/
- public void visitElement(Element visited, Item<Element> item);
+ void visitElement(Element visited, Item<Element> item);
}
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/NodeVisitor.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/NodeVisitor.java
index cd1a657..1f4e426 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/NodeVisitor.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/NodeVisitor.java
@@ -35,6 +35,6 @@ public interface NodeVisitor {
* @param visited the {@link Node} being visited.
* @param item the {@link Item} which is the context for the visit.
*/
- public void visitNode(Node visited, Item<Element> item);
+ void visitNode(Node visited, Item<Element> item);
}
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/pipeline/Stage.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/pipeline/Stage.java
index 7517f43..a46f548 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/pipeline/Stage.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/pipeline/Stage.java
@@ -46,6 +46,6 @@ public interface Stage<T> extends DestructableComponent, IdentifiedComponent,
*
* @throws StageProcessingException thrown if there is a problem running this stage on the given input
*/
- public void execute(@Nonnull @NonnullElements final Collection<Item<T>> itemCollection)
+ void execute(@Nonnull @NonnullElements final Collection<Item<T>> itemCollection)
throws StageProcessingException;
-}
\ No newline at end of file
+}
diff --git a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/validate/Validator.java b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/validate/Validator.java
index d0b89a5..9bda36f 100644
--- a/aggregator-pipeline/src/main/java/net/shibboleth/metadata/validate/Validator.java
+++ b/aggregator-pipeline/src/main/java/net/shibboleth/metadata/validate/Validator.java
@@ -42,7 +42,7 @@ public interface Validator<V> extends DestructableComponent, IdentifiableCompone
* short-circuit evaluation in the case where the problem detected would
* invalidate subsequent tests.
*/
- public enum Action {
+ enum Action {
/** Evaluation of other {@link Validator}s may proceed. */
CONTINUE,
@@ -62,7 +62,7 @@ public interface Validator<V> extends DestructableComponent, IdentifiableCompone
* @return an indication of whether to process additional validators
* @throws StageProcessingException if an error occurs during validation
*/
- public Action validate(@Nonnull V e, @Nonnull Item<?> item, @Nonnull String stageId)
+ Action validate(@Nonnull V e, @Nonnull Item<?> item, @Nonnull String stageId)
throws StageProcessingException;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list