commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1152306 - in /commons/proper/bcel/trunk/src: examples/Mini/ASCII_CharStream.java main/java/org/apache/bcel/classfile/LocalVariableTable.java
Date Fri, 29 Jul 2011 17:22:24 GMT
Author: sebb
Date: Fri Jul 29 17:22:24 2011
New Revision: 1152306

URL: http://svn.apache.org/viewvc?rev=1152306&view=rev
Log:
Add @Deprecated tags

Modified:
    commons/proper/bcel/trunk/src/examples/Mini/ASCII_CharStream.java
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java

Modified: commons/proper/bcel/trunk/src/examples/Mini/ASCII_CharStream.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/examples/Mini/ASCII_CharStream.java?rev=1152306&r1=1152305&r2=1152306&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/examples/Mini/ASCII_CharStream.java (original)
+++ commons/proper/bcel/trunk/src/examples/Mini/ASCII_CharStream.java Fri Jul 29 17:22:24
2011
@@ -215,6 +215,7 @@ public final class ASCII_CharStream
    * @see #getEndColumn
    */
 
+  @Deprecated
   static public final int getColumn() {
      return bufcolumn[bufpos];
   }
@@ -224,6 +225,7 @@ public final class ASCII_CharStream
    * @see #getEndLine
    */
 
+  @Deprecated
   static public final int getLine() {
      return bufline[bufpos];
   }

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java?rev=1152306&r1=1152305&r2=1152306&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/LocalVariableTable.java
Fri Jul 29 17:22:24 2011
@@ -125,6 +125,7 @@ public class LocalVariableTable extends 
      * @deprecated since 5.2 because multiple variables can share the
      *             same slot, use getLocalVariable(int index, int pc) instead.
      */
+    @java.lang.Deprecated
     public final LocalVariable getLocalVariable( int index ) {
         for (int i = 0; i < local_variable_table_length; i++) {
             if (local_variable_table[i].getIndex() == index) {



Mime
View raw message