geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r940256 - in /geronimo/external/trunk/tomcat-parent-7.0.0/util/src/main/java/org/apache/tomcat/util/bcel/classfile: Attribute.java EnclosingMethod.java LocalVariableTypeTable.java
Date Sun, 02 May 2010 16:44:38 GMT
Author: xuhaihong
Date: Sun May  2 16:44:37 2010
New Revision: 940256

URL: http://svn.apache.org/viewvc?rev=940256&view=rev
Log:
Geronimo should work well without those two files which have License issues

Removed:
    geronimo/external/trunk/tomcat-parent-7.0.0/util/src/main/java/org/apache/tomcat/util/bcel/classfile/EnclosingMethod.java
    geronimo/external/trunk/tomcat-parent-7.0.0/util/src/main/java/org/apache/tomcat/util/bcel/classfile/LocalVariableTypeTable.java
Modified:
    geronimo/external/trunk/tomcat-parent-7.0.0/util/src/main/java/org/apache/tomcat/util/bcel/classfile/Attribute.java

Modified: geronimo/external/trunk/tomcat-parent-7.0.0/util/src/main/java/org/apache/tomcat/util/bcel/classfile/Attribute.java
URL: http://svn.apache.org/viewvc/geronimo/external/trunk/tomcat-parent-7.0.0/util/src/main/java/org/apache/tomcat/util/bcel/classfile/Attribute.java?rev=940256&r1=940255&r2=940256&view=diff
==============================================================================
--- geronimo/external/trunk/tomcat-parent-7.0.0/util/src/main/java/org/apache/tomcat/util/bcel/classfile/Attribute.java
(original)
+++ geronimo/external/trunk/tomcat-parent-7.0.0/util/src/main/java/org/apache/tomcat/util/bcel/classfile/Attribute.java
Sun May  2 16:44:37 2010
@@ -33,7 +33,7 @@ import org.apache.tomcat.util.bcel.class
  * <em>LocalVariableTable</em>, <em>InnerClasses</em> and
  * <em>Synthetic</em> attributes are supported. The <em>Unknown</em>
  * attribute stands for non-standard-attributes.
- * 
+ *
  * @version $Id$
  * @author <A HREF="mailto:m.dahm@gmx.de">M. Dahm</A>
  * @see ConstantValue
@@ -69,7 +69,7 @@ public abstract class Attribute implemen
 
 	/**
 	 * Dump attribute to file stream in binary format.
-	 * 
+	 *
 	 * @param file
 	 *            Output file stream
 	 * @throws IOException
@@ -82,15 +82,15 @@ public abstract class Attribute implemen
 
 	private static Map readers = new HashMap();
 
-	
 
-	
+
+
 
 	/*
 	 * Class method reads one attribute from the input data stream. This method
 	 * must not be accessible from the outside. It is called by the Field and
 	 * Method constructor methods.
-	 * 
+	 *
 	 * @see Field
 	 * @see Method @param file Input stream @param constant_pool Array of
 	 *      constants @return Attribute @throws IOException @throws
@@ -174,10 +174,10 @@ public abstract class Attribute implemen
 			return new AnnotationDefault(name_index, length, file,
 					constant_pool);
 		case Constants.ATTR_LOCAL_VARIABLE_TYPE_TABLE:
-			return new LocalVariableTypeTable(name_index, length, file,
-					constant_pool);
+			//return new LocalVariableTypeTable(name_index, length, file,
+			//		constant_pool);
 		case Constants.ATTR_ENCLOSING_METHOD:
-			return new EnclosingMethod(name_index, length, file, constant_pool);
+			//return new EnclosingMethod(name_index, length, file, constant_pool);
 		case Constants.ATTR_STACK_MAP_TABLE:
 			return new StackMapTable(name_index, length, file, constant_pool);
 		default: // Never reached
@@ -195,13 +195,13 @@ public abstract class Attribute implemen
 		return c.getBytes();
 	}
 
-	
 
-	
 
-	
 
-	
+
+
+
+
 
 	/**
 	 * @return Tag of attribute, i.e., its type. Value may not be altered, thus
@@ -212,14 +212,14 @@ public abstract class Attribute implemen
 		return tag;
 	}
 
-	
 
-	
+
+
 
 	/**
 	 * Use copy() if you want to have a deep copy(), i.e., with all references
 	 * copied correctly.
-	 * 
+	 *
 	 * @return shallow copy of this attribute
 	 */
 	public Object clone()



Mime
View raw message