Author: ggregory
Date: Fri May 30 19:38:21 2014
New Revision: 1598714

URL: http://svn.apache.org/r1598714
Log:
Sort members.

Modified:
    
logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginAttribute.java

Modified: 
logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginAttribute.java
URL: 
http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginAttribute.java?rev=1598714&r1=1598713&r2=1598714&view=diff
==============================================================================
--- 
logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginAttribute.java
 (original)
+++ 
logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/PluginAttribute.java
 Fri May 30 19:38:21 2014
@@ -38,45 +38,45 @@ import org.apache.logging.log4j.util.Str
 @PluginVisitorStrategy(PluginAttributeVisitor.class)
 public @interface PluginAttribute {
 
-    // TODO: could we allow a blank value and infer the attribute name through 
reflection?
     /**
-     * Specifies the name of the attribute (case-insensitive) this annotation 
corresponds to.
+     * Specifies the default boolean value to use.
      */
-    String value();
+    boolean defaultBoolean() default false;
 
     /**
-     * Specifies the default value this attribute should use if none is 
provided or if the provided value is invalid.
+     * Specifies the default {@link Class} value to use.
      */
-    String defaultString() default Strings.EMPTY;
+    Class<?> defaultClass() default Object.class;
 
     /**
-     * Specifies the default integer value to use.
+     * Specifies the default double floating point value to use.
      */
-    int defaultInt() default 0;
+    double defaultDouble() default 0.0d;
 
     /**
-     * Specifies the default long value to use.
+     * Specifies the default floating point value to use.
      */
-    long defaultLong() default 0L;
+    float defaultFloat() default 0.0f;
 
     /**
-     * Specifies the default boolean value to use.
+     * Specifies the default integer value to use.
      */
-    boolean defaultBoolean() default false;
+    int defaultInt() default 0;
 
     /**
-     * Specifies the default floating point value to use.
+     * Specifies the default long value to use.
      */
-    float defaultFloat() default 0.0f;
+    long defaultLong() default 0L;
 
     /**
-     * Specifies the default double floating point value to use.
+     * Specifies the default value this attribute should use if none is 
provided or if the provided value is invalid.
      */
-    double defaultDouble() default 0.0d;
+    String defaultString() default Strings.EMPTY;
 
+    // TODO: could we allow a blank value and infer the attribute name through 
reflection?
     /**
-     * Specifies the default {@link Class} value to use.
+     * Specifies the name of the attribute (case-insensitive) this annotation 
corresponds to.
      */
-    Class<?> defaultClass() default Object.class;
+    String value();
 
 }


Reply via email to