You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2009/12/07 18:22:25 UTC
svn commit: r888027 - in /tomcat/trunk/java/org/apache/tomcat/util/bcel:
Constants.java classfile/ConstantPool.java classfile/ConstantUtf8.java
Author: markt
Date: Mon Dec 7 17:22:24 2009
New Revision: 888027
URL: http://svn.apache.org/viewvc?rev=888027&view=rev
Log:
More clean up
Modified:
tomcat/trunk/java/org/apache/tomcat/util/bcel/Constants.java
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ConstantPool.java
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ConstantUtf8.java
Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/Constants.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/Constants.java?rev=888027&r1=888026&r2=888027&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/Constants.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/Constants.java Mon Dec 7 17:22:24 2009
@@ -284,9 +284,7 @@
public static final byte T_SHORT = 9;
/** Int data type. */
public static final byte T_INT = 10;
-
- /** Object data type. */
- public static final byte T_OBJECT = 14;
+
/** Unknown data type. */
public static final byte T_UNKNOWN = 15;
Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ConstantPool.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ConstantPool.java?rev=888027&r1=888026&r2=888027&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ConstantPool.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ConstantPool.java Mon Dec 7 17:22:24 2009
@@ -39,12 +39,7 @@
private Constant[] constant_pool;
- /**
- * @param constant_pool Array of constants
- */
- public ConstantPool(Constant[] constant_pool) {
- setConstantPool(constant_pool);
- }
+
/**
@@ -274,18 +269,6 @@
}
-
-
-
- /**
- * @param constant_pool
- */
- public void setConstantPool( Constant[] constant_pool ) {
- this.constant_pool = constant_pool;
- constant_pool_count = (constant_pool == null) ? 0 : constant_pool.length;
- }
-
-
/**
* @return String representation.
*/
Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ConstantUtf8.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ConstantUtf8.java?rev=888027&r1=888026&r2=888027&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ConstantUtf8.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/ConstantUtf8.java Mon Dec 7 17:22:24 2009
@@ -51,16 +51,7 @@
}
- /**
- * @param bytes Data
- */
- public ConstantUtf8(String bytes) {
- super(Constants.CONSTANT_Utf8);
- if (bytes == null) {
- throw new IllegalArgumentException("bytes must not be null!");
- }
- this.bytes = bytes;
- }
+
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org