[java-opensaml COMMIT] in /trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support: Configurabl...

noreply at shibboleth.net noreply at shibboleth.net
Thu Feb 20 23:05:34 EST 2014


Author: scantor
Date: Thu Feb 20 23:05:34 2014
New Revision: 3635

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3635&view=rev
Log:
Fix warnings.

Modified:
    trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support/ConfigurableContentReference.java
    trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support/SignatureValidator.java

Modified: trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support/ConfigurableContentReference.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support/ConfigurableContentReference.java?rev=3635&r1=3634&r2=3635&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support/ConfigurableContentReference.java (original)
+++ trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support/ConfigurableContentReference.java Thu Feb 20 23:05:34 2014
@@ -17,7 +17,6 @@
 
 package org.opensaml.xmlsec.signature.support;
 
-import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
 
 /**
@@ -31,13 +30,13 @@
      * 
      * @return the algorithm used to digest the content
      */
-    @Nullable public String getDigestAlgorithm();
+    @Nullable String getDigestAlgorithm();
 
     /**
      * Sets the algorithm used to digest the content.
      * 
      * @param newAlgorithm the algorithm used to digest the content
      */
-    public void setDigestAlgorithm(final @Nonnull String newAlgorithm);
+    void setDigestAlgorithm(@Nullable final String newAlgorithm);
 
-}
+}

Modified: trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support/SignatureValidator.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support/SignatureValidator.java?rev=3635&r1=3634&r2=3635&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support/SignatureValidator.java (original)
+++ trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/signature/support/SignatureValidator.java Thu Feb 20 23:05:34 2014
@@ -67,7 +67,8 @@
             if (iterator.hasNext()) {
                 validatorInstance = iterator.next();
             } else {
-                throw new SignatureException("Could not load a signature validation provider implementation via service API");
+                throw new SignatureException(
+                        "Could not load a signature validation provider implementation via service API");
             }
         }
         return validatorInstance;



More information about the commits mailing list