commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1750029 - in /commons/proper/bcel/trunk/src/main/java/org/apache/bcel: classfile/Attribute.java classfile/ConstantUtf8.java classfile/FieldOrMethod.java classfile/StackMapEntry.java generic/Instruction.java
Date Thu, 23 Jun 2016 22:14:38 GMT
Author: sebb
Date: Thu Jun 23 22:14:38 2016
New Revision: 1750029

URL: http://svn.apache.org/viewvc?rev=1750029&view=rev
Log:
Javadoc for deprecations

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Attribute.java
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/StackMapEntry.java
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Attribute.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Attribute.java?rev=1750029&r1=1750028&r2=1750029&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Attribute.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Attribute.java Thu Jun
23 22:14:38 2016
@@ -114,7 +114,7 @@ public abstract class Attribute implemen
      * 
      * @param name the name of the attribute as stored in the class file
      * @param r    the reader object
-     * @deprecated Use {@link #addAttributeReader(String, UnknownAttributeReader)} instead
+     * @deprecated (6.0) Use {@link #addAttributeReader(String, UnknownAttributeReader)}
instead
      */
     @java.lang.Deprecated
     public static void addAttributeReader(final String name, final AttributeReader r)

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java?rev=1750029&r1=1750028&r2=1750029&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java Thu
Jun 23 22:14:38 2016
@@ -193,7 +193,7 @@ public final class ConstantUtf8 extends
 
     /**
      * @param bytes the raw bytes of this Utf-8
-     * @deprecated
+     * @deprecated (since 6.0)
      */
     @java.lang.Deprecated
     public final void setBytes( final String bytes ) {

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java?rev=1750029&r1=1750028&r2=1750029&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/FieldOrMethod.java Thu
Jun 23 22:14:38 2016
@@ -86,7 +86,7 @@ public abstract class FieldOrMethod exte
      * @param file Input stream
      * @throws IOException
      * @throws ClassFormatException
-     * @deprecated Use {@link #FieldOrMethod(java.io.DataInput, ConstantPool)} instead.
+     * @deprecated (6.0) Use {@link #FieldOrMethod(java.io.DataInput, ConstantPool)} instead.
      */
     @java.lang.Deprecated
     protected FieldOrMethod(final DataInputStream file, final ConstantPool constant_pool)
throws IOException,

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/StackMapEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/StackMapEntry.java?rev=1750029&r1=1750028&r2=1750029&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/StackMapEntry.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/StackMapEntry.java Thu
Jun 23 22:14:38 2016
@@ -335,6 +335,10 @@ public final class StackMapEntry impleme
     }
 
 
+    /**
+     * 
+     * @deprecated since 6.0
+     */
     @java.lang.Deprecated
     public void setNumberOfLocals( final int n ) { // TODO unused
     }
@@ -355,6 +359,10 @@ public final class StackMapEntry impleme
     }
 
 
+    /**
+     * 
+     * @deprecated since 6.0
+     */
     @java.lang.Deprecated
     public void setNumberOfStackItems( final int n ) { // TODO unused
     }

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java?rev=1750029&r1=1750028&r2=1750029&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java Thu Jun
23 22:14:38 2016
@@ -553,7 +553,7 @@ public abstract class Instruction implem
      * equality of instructions.
      *
      * @return currently used comparator for equals()
-     * @deprecated use the built in comparator, or wrap this class in another object that
implements these methods
+     * @deprecated (6.0) use the built in comparator, or wrap this class in another object
that implements these methods
      */
     @Deprecated
     public static InstructionComparator getComparator() {
@@ -562,7 +562,7 @@ public abstract class Instruction implem
 
 
     /** Set comparator to be used for equals().
-      * @deprecated use the built in comparator, or wrap this class in another object that
implements these methods
+      * @deprecated (6.0) use the built in comparator, or wrap this class in another object
that implements these methods
      */
     @Deprecated
     public static void setComparator( final InstructionComparator c ) {



Mime
View raw message