[java-opensaml COMMIT] /trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/metadata/impl/KeyDescriptorUnm...

noreply at shibboleth.net noreply at shibboleth.net
Thu Dec 4 12:58:30 EST 2014


Author: scantor
Date: Thu Dec  4 12:58:29 2014
New Revision: 4175

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4175&view=rev
Log:
Fix inadvertent warning after parsing use attribute.

Modified:
    trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/metadata/impl/KeyDescriptorUnmarshaller.java

Modified: trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/metadata/impl/KeyDescriptorUnmarshaller.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/metadata/impl/KeyDescriptorUnmarshaller.java?rev=4175&r1=4174&r2=4175&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/metadata/impl/KeyDescriptorUnmarshaller.java (original)
+++ trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/metadata/impl/KeyDescriptorUnmarshaller.java Thu Dec  4 12:58:29 2014
@@ -60,8 +60,9 @@
             } catch (IllegalArgumentException e) {
                 throw new UnmarshallingException("Invalid key usage type: " + attribute.getValue());
             }
+        } else {
+            super.processAttribute(samlObject, attribute);
         }
-
-        super.processAttribute(samlObject, attribute);
     }
+    
 }



More information about the commits mailing list