* @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
* @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;
* @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;
* @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;
* @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;
+++ /dev/null
-/*
- * 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 {
-
-}
* @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