Author: sebb
Date: Thu Jun 16 12:51:03 2011
New Revision: 1136412

URL: http://svn.apache.org/viewvc?rev=1136412&view=rev
Log:
Tab police

Modified:
    
jakarta/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationDefault.java
    
jakarta/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationElementValue.java

Modified: 
jakarta/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationDefault.java
URL: 
http://svn.apache.org/viewvc/jakarta/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationDefault.java?rev=1136412&r1=1136411&r2=1136412&view=diff
==============================================================================
--- 
jakarta/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationDefault.java
 (original)
+++ 
jakarta/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationDefault.java
 Thu Jun 16 12:51:03 2011
@@ -31,79 +31,79 @@ import org.apache.bcel.Constants;
  */
 public class AnnotationDefault extends Attribute
 {
-       private static final long serialVersionUID = -4017327188724019487L;
+        private static final long serialVersionUID = -4017327188724019487L;
     ElementValue default_value;
 
-       /**
-        * @param name_index
-        *            Index pointing to the name <em>Code</em>
-        * @param length
-        *            Content length in bytes
-        * @param file
-        *            Input stream
-        * @param constant_pool
-        *            Array of constants
-        */
-       public AnnotationDefault(int name_index, int length,
-                       DataInputStream file, ConstantPool constant_pool)
-                       throws IOException
-       {
-               this(name_index, length, (ElementValue) null,
-                               constant_pool);
-               default_value = ElementValue.readElementValue(file, 
constant_pool);
-       }
-
-       /**
-        * @param name_index
-        *            Index pointing to the name <em>Code</em>
-        * @param length
-        *            Content length in bytes
-        * @param defaultValue
-        *            the annotation's default value
-        * @param constant_pool
-        *            Array of constants
-        */
-       public AnnotationDefault(int name_index, int length,
-                       ElementValue defaultValue, ConstantPool constant_pool)
-       {
-               super(Constants.ATTR_ANNOTATION_DEFAULT, name_index, length, 
constant_pool);
-               setDefaultValue(defaultValue);
-       }
-
-       /**
-        * Called by objects that are traversing the nodes of the tree 
implicitely
-        * defined by the contents of a Java class. I.e., the hierarchy of 
methods,
-        * fields, attributes, etc. spawns a tree of objects.
-        * 
-        * @param v
-        *            Visitor object
-        */
-       public void accept(Visitor v)
-       {
-               // v.visitAnnotationDefault(this);
-       }
-
-       /**
-        * @param defaultValue
-        *            the default value of this methodinfo's annotation
-        */
-       public final void setDefaultValue(ElementValue defaultValue)
-       {
-               default_value = defaultValue;
-       }
-
-       /**
-        * @return the default value
-        */
-       public final ElementValue getDefaultValue()
-       {
-               return default_value;
-       }
-
-       public Attribute copy(ConstantPool _constant_pool)
-       {
-               throw new RuntimeException("Not implemented yet!");
-       }
+        /**
+         * @param name_index
+         *            Index pointing to the name <em>Code</em>
+         * @param length
+         *            Content length in bytes
+         * @param file
+         *            Input stream
+         * @param constant_pool
+         *            Array of constants
+         */
+        public AnnotationDefault(int name_index, int length,
+                        DataInputStream file, ConstantPool constant_pool)
+                        throws IOException
+        {
+                this(name_index, length, (ElementValue) null,
+                                constant_pool);
+                default_value = ElementValue.readElementValue(file, 
constant_pool);
+        }
+
+        /**
+         * @param name_index
+         *            Index pointing to the name <em>Code</em>
+         * @param length
+         *            Content length in bytes
+         * @param defaultValue
+         *            the annotation's default value
+         * @param constant_pool
+         *            Array of constants
+         */
+        public AnnotationDefault(int name_index, int length,
+                        ElementValue defaultValue, ConstantPool constant_pool)
+        {
+                super(Constants.ATTR_ANNOTATION_DEFAULT, name_index, length, 
constant_pool);
+                setDefaultValue(defaultValue);
+        }
+
+        /**
+         * Called by objects that are traversing the nodes of the tree 
implicitely
+         * defined by the contents of a Java class. I.e., the hierarchy of 
methods,
+         * fields, attributes, etc. spawns a tree of objects.
+         * 
+         * @param v
+         *            Visitor object
+         */
+        public void accept(Visitor v)
+        {
+                // v.visitAnnotationDefault(this);
+        }
+
+        /**
+         * @param defaultValue
+         *            the default value of this methodinfo's annotation
+         */
+        public final void setDefaultValue(ElementValue defaultValue)
+        {
+                default_value = defaultValue;
+        }
+
+        /**
+         * @return the default value
+         */
+        public final ElementValue getDefaultValue()
+        {
+                return default_value;
+        }
+
+        public Attribute copy(ConstantPool _constant_pool)
+        {
+                throw new RuntimeException("Not implemented yet!");
+        }
 
     public final void dump(DataOutputStream dos) throws IOException
     {

Modified: 
jakarta/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationElementValue.java
URL: 
http://svn.apache.org/viewvc/jakarta/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationElementValue.java?rev=1136412&r1=1136411&r2=1136412&view=diff
==============================================================================
--- 
jakarta/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationElementValue.java
 (original)
+++ 
jakarta/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationElementValue.java
 Thu Jun 16 12:51:03 2011
@@ -22,39 +22,39 @@ import java.io.IOException;
 
 public class AnnotationElementValue extends ElementValue
 {
-       // For annotation element values, this is the annotation
-       private AnnotationEntry annotationEntry;
+        // For annotation element values, this is the annotation
+        private AnnotationEntry annotationEntry;
 
-       public AnnotationElementValue(int type, AnnotationEntry annotationEntry,
-                       ConstantPool cpool)
-       {
-               super(type, cpool);
-               if (type != ANNOTATION)
-                       throw new RuntimeException(
-                                       "Only element values of type annotation 
can be built with this ctor - type specified: " + type);
-               this.annotationEntry = annotationEntry;
-       }
-
-       public void dump(DataOutputStream dos) throws IOException
-       {
-               dos.writeByte(type); // u1 type of value (ANNOTATION == '@')
-               annotationEntry.dump(dos);
-       }
-
-       public String stringifyValue()
-       {
-               StringBuffer sb = new StringBuffer();
-               sb.append(annotationEntry.toString());
-               return sb.toString();
-       }
-
-       public String toString()
-       {
-               return stringifyValue();
-       }
-
-       public AnnotationEntry getAnnotationEntry()
-       {
-               return annotationEntry;
-       }
+        public AnnotationElementValue(int type, AnnotationEntry 
annotationEntry,
+                        ConstantPool cpool)
+        {
+                super(type, cpool);
+                if (type != ANNOTATION)
+                        throw new RuntimeException(
+                                        "Only element values of type 
annotation can be built with this ctor - type specified: " + type);
+                this.annotationEntry = annotationEntry;
+        }
+
+        public void dump(DataOutputStream dos) throws IOException
+        {
+                dos.writeByte(type); // u1 type of value (ANNOTATION == '@')
+                annotationEntry.dump(dos);
+        }
+
+        public String stringifyValue()
+        {
+                StringBuffer sb = new StringBuffer();
+                sb.append(annotationEntry.toString());
+                return sb.toString();
+        }
+
+        public String toString()
+        {
+                return stringifyValue();
+        }
+
+        public AnnotationEntry getAnnotationEntry()
+        {
+                return annotationEntry;
+        }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to