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

noreply at shibboleth.net noreply at shibboleth.net
Sun Sep 21 11:40:05 EDT 2014


Author: rdw
Date: Sun Sep 21 11:40:05 2014
New Revision: 4039

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4039&view=rev
Log:
Remove uneeded annotation

Modified:
    trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/signature/support/impl/ExplicitKeySignatureTrustEngine.java
    trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/signature/support/impl/PKIXSignatureTrustEngine.java

Modified: trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/signature/support/impl/ExplicitKeySignatureTrustEngine.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/signature/support/impl/ExplicitKeySignatureTrustEngine.java?rev=4039&r1=4038&r2=4039&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/signature/support/impl/ExplicitKeySignatureTrustEngine.java (original)
+++ trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/signature/support/impl/ExplicitKeySignatureTrustEngine.java Sun Sep 21 11:40:05 2014
@@ -160,12 +160,10 @@
                         log.debug("Failed to establish trust of supplied candidate credential");
                     }
                 }
-            // CheckStyle: EmptyBlock OFF
             } catch (SecurityException e) {
                 // Java 7 now throws this exception under conditions such as mismatched key sizes.
                 // Swallow this, it's logged by the verifyWithURI method already.
             }
-            // CheckStyle: EmptyBlock ON
         }
 
         // If the candidate verification credential did not verify the
@@ -179,12 +177,10 @@
                     log.debug("Successfully verified signature using resolved trusted credential");
                     return true;
                 }
-            // CheckStyle: EmptyBlock OFF
             } catch (SecurityException e) {
                 // Java 7 now throws this exception under conditions such as mismatched key sizes.
                 // Swallow this, it's logged by the verifyWithURI method already.
             }
-            // CheckStyle: EmptyBlock ON
         }
         log.debug("Failed to verify signature using either supplied candidate credential"
                 + " or directly trusted credentials");

Modified: trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/signature/support/impl/PKIXSignatureTrustEngine.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/signature/support/impl/PKIXSignatureTrustEngine.java?rev=4039&r1=4038&r2=4039&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/signature/support/impl/PKIXSignatureTrustEngine.java (original)
+++ trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/signature/support/impl/PKIXSignatureTrustEngine.java Sun Sep 21 11:40:05 2014
@@ -189,12 +189,10 @@
             } else {
                 log.debug("Cryptographic verification of raw signature failed with candidate credential");
             }
-        // CheckStyle: EmptyBlock OFF
         } catch (SecurityException e) {
             // Java 7 now throws this exception under conditions such as mismatched key sizes.
             // Swallow this, it's logged by the verifyWithURI method already.
         }
-        // CheckStyle: EmptyBlock ON
 
         log.debug("PKIX validation of raw signature failed, "
                 + "unable to establish trust of supplied verification credential");



More information about the commits mailing list