geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r931507 - in /geronimo/specs/trunk: geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/soap/AddressingFeature.java geronimo-servlet_3.0_spec/src/main/java/javax/servlet/annotation/ServletSecurity.java
Date Wed, 07 Apr 2010 11:46:22 GMT
Author: rickmcguire
Date: Wed Apr  7 11:46:21 2010
New Revision: 931507

URL: http://svn.apache.org/viewvc?rev=931507&view=rev
Log:
Fix enum order to match specs

Modified:
    geronimo/specs/trunk/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/soap/AddressingFeature.java
    geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/annotation/ServletSecurity.java

Modified: geronimo/specs/trunk/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/soap/AddressingFeature.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/soap/AddressingFeature.java?rev=931507&r1=931506&r2=931507&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/soap/AddressingFeature.java
(original)
+++ geronimo/specs/trunk/geronimo-jaxws_2.2_spec/src/main/java/javax/xml/ws/soap/AddressingFeature.java
Wed Apr  7 11:46:21 2010
@@ -25,27 +25,27 @@ public final class AddressingFeature ext
     /**
      * @since 2.2
      */
-    public enum Responses {ALL, ANONYMOUS, NON_ANONYMOUS};
+    public enum Responses {ANONYMOUS, NON_ANONYMOUS, ALL};
+
 
-    
     public static final String ID = "http://www.w3.org/2005/08/addressing/module";
-    
+
     protected boolean required;
     private Responses responses = Responses.ALL;
-    
+
     public AddressingFeature() {
         this(true, false);
     }
-    
+
     public AddressingFeature(boolean enabled) {
         this(enabled, false);
     }
-    
+
     public AddressingFeature(boolean enabled, boolean required) {
         this.enabled  = enabled;
         this.required = required;
     }
-    
+
     /**
      * @since 2.2
      */
@@ -58,12 +58,12 @@ public final class AddressingFeature ext
     public boolean isRequired() {
         return required;
     }
-    
+
     @Override
     public String getID() {
         return ID;
     }
-    
+
     /**
      * @since 2.2
      */

Modified: geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/annotation/ServletSecurity.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/annotation/ServletSecurity.java?rev=931507&r1=931506&r2=931507&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/annotation/ServletSecurity.java
(original)
+++ geronimo/specs/trunk/geronimo-servlet_3.0_spec/src/main/java/javax/servlet/annotation/ServletSecurity.java
Wed Apr  7 11:46:21 2010
@@ -38,12 +38,12 @@ import java.lang.annotation.Inherited;
 @Retention(value= RetentionPolicy.RUNTIME)
 public @interface ServletSecurity {
 
-    enum EmptyRoleSemantic {DENY, PERMIT}
+    enum EmptyRoleSemantic {PERMIT, DENY}
 
     enum TransportGuarantee {NONE, CONFIDENTIAL}
 
     HttpMethodConstraint[] httpMethodConstraints() default {};
 
     HttpConstraint value() default @HttpConstraint;
-    
+
 }



Mime
View raw message