[java-opensaml COMMIT] /trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java

noreply at shibboleth.net noreply at shibboleth.net
Sun Jul 8 10:49:10 EDT 2012


Author: rdw
Date: Sun Jul  8 10:49:09 2012
New Revision: 3080

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3080&view=rev
Log:
OSR-16 Fix the oprder in which child elements are presented - this makes the marshaller output them in the spec conformant order

Modified:
    trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java

Modified: trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java?rev=3080&r1=3079&r2=3080&view=diff
==============================================================================
--- trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java (original)
+++ trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java Sun Jul  8 10:49:09 2012
@@ -65,12 +65,12 @@
         if(subjects != null){
             children.add(subjects);  
         }
+        if(resources != null){
+            children.add(resources);  
+        }
         if(actions != null){
             children.add(actions);  
         }        
-        if(resources != null){
-            children.add(resources);  
-        }
         if(environments != null){
             children.add(environments);  
         }



More information about the commits mailing list