[java-metadata-aggregator] 01/02: Refactor test to avoid "hiding" warning
Ian Young
ian at iay.org.uk
Thu Jun 11 10:33:27 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=f6fdb7b0664254ba311e53c845ccb47e62794f3d
commit f6fdb7b0664254ba311e53c845ccb47e62794f3d
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Jun 11 11:23:38 2020 +0100
Refactor test to avoid "hiding" warning
---
.../net/shibboleth/metadata/SimpleItemCollectionSerializerTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/aggregator-pipeline/src/test/java/net/shibboleth/metadata/SimpleItemCollectionSerializerTest.java b/aggregator-pipeline/src/test/java/net/shibboleth/metadata/SimpleItemCollectionSerializerTest.java
index 0d865ee..31f5d39 100644
--- a/aggregator-pipeline/src/test/java/net/shibboleth/metadata/SimpleItemCollectionSerializerTest.java
+++ b/aggregator-pipeline/src/test/java/net/shibboleth/metadata/SimpleItemCollectionSerializerTest.java
@@ -40,9 +40,9 @@ public class SimpleItemCollectionSerializerTest {
final ByteArrayOutputStream output = new ByteArrayOutputStream();
final var base = new ItemSerializer<String>() {
@Override
- public void serialize(Item<String> item, OutputStream output) {
+ public void serialize(Item<String> item, OutputStream out) {
try {
- output.write(item.unwrap().getBytes());
+ out.write(item.unwrap().getBytes());
} catch (IOException e) {
Assert.fail("exception in string serializer", e);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list