[java-opensaml2 COMMIT] /branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java

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


Author: rdw
Date: Sun Jul  8 10:54:23 2012
New Revision: 1582

URL: http://svn.shibboleth.net/view/java-opensaml2?rev=1582&view=rev
Log:
[JOST-1891]  Fix order of children in <Target/> to make them marshall in spec conformant manner

Modified:
    branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java

Modified: branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java?rev=1582&r1=1581&r2=1582&view=diff
==============================================================================
--- branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java (original)
+++ branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/TargetTypeImpl.java Sun Jul  8 10:54:23 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