Remove unused ConstantObject interface and associated references
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 10 Oct 2011 18:39:06 +0000 (18:39 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 10 Oct 2011 18:39:06 +0000 (18:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1181125 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/bcel/classfile/ConstantClass.java
java/org/apache/tomcat/util/bcel/classfile/ConstantDouble.java
java/org/apache/tomcat/util/bcel/classfile/ConstantFloat.java
java/org/apache/tomcat/util/bcel/classfile/ConstantInteger.java
java/org/apache/tomcat/util/bcel/classfile/ConstantLong.java
java/org/apache/tomcat/util/bcel/classfile/ConstantObject.java [deleted file]
java/org/apache/tomcat/util/bcel/classfile/ConstantString.java

index 43dff5c..5ec1a5a 100644 (file)
@@ -32,7 +32,7 @@ import org.apache.tomcat.util.bcel.Constants;
  * @author  <A HREF="mailto:m.dahm@gmx.de">M. Dahm</A>
  * @see     Constant
  */
-public final class ConstantClass extends Constant implements ConstantObject {
+public final class ConstantClass extends Constant {
 
     private static final long serialVersionUID = -6603658849582876642L;
     private int name_index; // Identical to ConstantString except for the name
index e61de2c..073c678 100644 (file)
@@ -32,7 +32,7 @@ import org.apache.tomcat.util.bcel.Constants;
  * @author  <A HREF="mailto:m.dahm@gmx.de">M. Dahm</A>
  * @see     Constant
  */
-public final class ConstantDouble extends Constant implements ConstantObject {
+public final class ConstantDouble extends Constant {
 
     private static final long serialVersionUID = 3450743772468544760L;
     private double bytes;
index 66614d3..b1d458f 100644 (file)
@@ -32,7 +32,7 @@ import org.apache.tomcat.util.bcel.Constants;
  * @author  <A HREF="mailto:m.dahm@gmx.de">M. Dahm</A>
  * @see     Constant
  */
-public final class ConstantFloat extends Constant implements ConstantObject {
+public final class ConstantFloat extends Constant {
 
     private static final long serialVersionUID = 8301269629885378651L;
     private float bytes;
index 7cc87d0..0437cda 100644 (file)
@@ -32,7 +32,7 @@ import org.apache.tomcat.util.bcel.Constants;
  * @author  <A HREF="mailto:m.dahm@gmx.de">M. Dahm</A>
  * @see     Constant
  */
-public final class ConstantInteger extends Constant implements ConstantObject {
+public final class ConstantInteger extends Constant {
 
     private static final long serialVersionUID = -6415476571232528966L;
     private int bytes;
index 1ba3bab..f934045 100644 (file)
@@ -32,7 +32,7 @@ import org.apache.tomcat.util.bcel.Constants;
  * @author  <A HREF="mailto:m.dahm@gmx.de">M. Dahm</A>
  * @see     Constant
  */
-public final class ConstantLong extends Constant implements ConstantObject {
+public final class ConstantLong extends Constant {
 
     private static final long serialVersionUID = -1893131676489003562L;
     private long bytes;
diff --git a/java/org/apache/tomcat/util/bcel/classfile/ConstantObject.java b/java/org/apache/tomcat/util/bcel/classfile/ConstantObject.java
deleted file mode 100644 (file)
index cc3413b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one or more
- *  contributor license agreements.  See the NOTICE file distributed with
- *  this work for additional information regarding copyright ownership.
- *  The ASF licenses this file to You under the Apache License, Version 2.0
- *  (the "License"); you may not use this file except in compliance with
- *  the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- *
- */
-package org.apache.tomcat.util.bcel.classfile;
-
-/** 
- * This interface denotes those constants that have a "natural" value,
- * such as ConstantLong, ConstantString, etc..
- *
- * @version $Id$
- * @author  <A HREF="mailto:m.dahm@gmx.de">M. Dahm</A>
- * @see     Constant
- */
-public interface ConstantObject {
-
-}
index 0ffdb5a..29efb80 100644 (file)
@@ -32,7 +32,7 @@ import org.apache.tomcat.util.bcel.Constants;
  * @author  <A HREF="mailto:m.dahm@gmx.de">M. Dahm</A>
  * @see     Constant
  */
-public final class ConstantString extends Constant implements ConstantObject {
+public final class ConstantString extends Constant {
 
     private static final long serialVersionUID = 2809338612858801341L;
     private int string_index; // Identical to ConstantClass except for this name