[java-opensaml] branch master updated: IDP-1403 replace com.google.common.base.Objects.equals(...) with java.util.Objects.equals(...)
Rod Widdowson
rdw at steadingsoftware.com
Sat Mar 30 07:42:45 EDT 2019
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch master
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=918dde8fb8b3873601c7230ce4f810a4dfe6bea8
The following commit(s) were added to refs/heads/master by this push:
new 918dde8 IDP-1403 replace com.google.common.base.Objects.equals(...) with java.util.Objects.equals(...)
918dde8 is described below
commit 918dde8fb8b3873601c7230ce4f810a4dfe6bea8
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Mar 30 11:41:52 2019 +0000
IDP-1403 replace com.google.common.base.Objects.equals(...) with java.util.Objects.equals(...)
https://issues.shibboleth.net/jira/browse/IDP-1403
---
.../metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java
index a1c9ebb..03277cd 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/AbstractDynamicMetadataResolverTest.java
@@ -25,6 +25,7 @@ import java.security.NoSuchProviderException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
+import java.util.Objects;
import java.util.Set;
import java.util.Timer;
import java.util.function.Function;
@@ -70,7 +71,6 @@ import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
-import com.google.common.base.Objects;
import com.google.common.base.Optional;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
@@ -439,7 +439,7 @@ public class AbstractDynamicMetadataResolverTest extends XMLObjectBaseTestCase {
if (input == null) {
return false;
}
- return Objects.equal(id1, input.getEntityID());
+ return Objects.equals(id1, input.getEntityID());
}
});
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list