[java-opensaml COMMIT] /trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java

noreply at shibboleth.net noreply at shibboleth.net
Thu Sep 25 20:06:59 EDT 2014


Author: putmanb
Date: Thu Sep 25 20:06:59 2014
New Revision: 4079

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4079&view=rev
Log:
Fix use of deprecated Guava class.

Modified:
    trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java

Modified: trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java?rev=4079&r1=4078&r2=4079&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java (original)
+++ trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/algorithm/AlgorithmRegistry.java Thu Sep 25 20:06:59 2014
@@ -38,8 +38,9 @@
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+import com.google.common.base.MoreObjects;
+import com.google.common.base.MoreObjects.ToStringHelper;
 import com.google.common.base.Objects;
-import com.google.common.base.Objects.ToStringHelper;
 
 /**
  * A registry of {@link AlgorithmDescriptor} instances, to support various use cases for working with algorithm URIs.
@@ -358,7 +359,7 @@
 
         /** {@inheritDoc} */
         public String toString() {
-            ToStringHelper tsh = Objects.toStringHelper(this);
+            ToStringHelper tsh = MoreObjects.toStringHelper(this);
             tsh.add("Key", key);
             tsh.add("Digest", digest);
             return tsh.toString();



More information about the commits mailing list