< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantString.java

Print this page

        

@@ -29,11 +29,10 @@
 
 /**
  * This class is derived from the abstract {@link Constant}
  * and represents a reference to a String object.
  *
- * @version $Id$
  * @see     Constant
  */
 public final class ConstantString extends Constant implements ConstantObject {
 
     private int string_index; // Identical to ConstantClass except for this name

@@ -85,37 +84,37 @@
      *
      * @param file Output file stream
      * @throws IOException
      */
     @Override
-    public final void dump( final DataOutputStream file ) throws IOException {
+    public void dump( final DataOutputStream file ) throws IOException {
         file.writeByte(super.getTag());
         file.writeShort(string_index);
     }
 
 
     /**
      * @return Index in constant pool of the string (ConstantUtf8).
      */
-    public final int getStringIndex() {
+    public int getStringIndex() {
         return string_index;
     }
 
 
     /**
      * @param string_index the index into the constant of the string value
      */
-    public final void setStringIndex( final int string_index ) {
+    public void setStringIndex( final int string_index ) {
         this.string_index = string_index;
     }
 
 
     /**
      * @return String representation.
      */
     @Override
-    public final String toString() {
+    public String toString() {
         return super.toString() + "(string_index = " + string_index + ")";
     }
 
 
     /** @return String object
< prev index next >