[java-metadata-aggregator] 01/04: Remove unused methods from MockItem class used by tests
Ian Young
ian at iay.org.uk
Thu Jul 9 14:51:32 UTC 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=cdea395682510bbde32425bca567803441fe521d
commit cdea395682510bbde32425bca567803441fe521d
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Jul 9 13:37:31 2020 +0100
Remove unused methods from MockItem class used by tests
---
.../src/test/java/net/shibboleth/metadata/MockItem.java | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/aggregator-pipeline/src/test/java/net/shibboleth/metadata/MockItem.java b/aggregator-pipeline/src/test/java/net/shibboleth/metadata/MockItem.java
index d18bfde..2d2db4f 100644
--- a/aggregator-pipeline/src/test/java/net/shibboleth/metadata/MockItem.java
+++ b/aggregator-pipeline/src/test/java/net/shibboleth/metadata/MockItem.java
@@ -19,8 +19,6 @@ package net.shibboleth.metadata;
import java.util.Objects;
-import net.shibboleth.utilities.java.support.collection.ClassToInstanceMultiMap;
-
/** A mock implementation of {@link Item}. */
public class MockItem extends AbstractItem<String> {
@@ -33,21 +31,6 @@ public class MockItem extends AbstractItem<String> {
setData(str);
}
- /** {@inheritDoc} */
- @Override public void setData(String data) {
- super.setData(data);
- }
-
- /**
- * Sets the metadata for this Item.
- *
- * @param info metadata for this Item
- */
- public void setMetadataInfo(ClassToInstanceMultiMap<ItemMetadata> info) {
- getItemMetadata().clear();
- getItemMetadata().putAll(info);
- }
-
@Override
public Item<String> copy() {
final MockItem clone = new MockItem(new String(unwrap()));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list