[java-metadata-aggregator] branch master updated: JPAR-106 - address Java 9 deprecations

Ian Young ian at iay.org.uk
Thu Feb 22 08:55:12 EST 2018


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=70749c5f428f57aa42b6a1351ddf8eb919334891

The following commit(s) were added to refs/heads/master by this push:
       new  70749c5   JPAR-106 - address Java 9 deprecations
70749c5 is described below

commit 70749c5f428f57aa42b6a1351ddf8eb919334891
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Feb 22 13:55:02 2018 +0000

    JPAR-106 - address Java 9 deprecations
---
 .../java/net/shibboleth/metadata/validate/RejectAllValidatorTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aggregator-pipeline/src/test/java/net/shibboleth/metadata/validate/RejectAllValidatorTest.java b/aggregator-pipeline/src/test/java/net/shibboleth/metadata/validate/RejectAllValidatorTest.java
index 26fff1a..0c325b7 100644
--- a/aggregator-pipeline/src/test/java/net/shibboleth/metadata/validate/RejectAllValidatorTest.java
+++ b/aggregator-pipeline/src/test/java/net/shibboleth/metadata/validate/RejectAllValidatorTest.java
@@ -40,7 +40,7 @@ public class RejectAllValidatorTest {
         v.initialize();
 
         final Item<String> item = new MockItem("test");
-        final Validator.Action action = v.validate(new Double(1.25), item, "stage");
+        final Validator.Action action = v.validate(1.25, item, "stage");
         Assert.assertEquals(action, Action.DONE);
 
         final List<ErrorStatus> errs = item.getItemMetadata().get(ErrorStatus.class);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list