From: Shigeru C. <ch...@is...> - 2005-06-30 17:48:45
|
User: chiba Date: 05/06/30 13:47:41 Modified: src/main/javassist/compiler CodeGen.java CompileError.java Log: deleted some local variables that are never read. Revision Changes Path 1.26 +0 -3 javassist/src/main/javassist/compiler/CodeGen.java (In the diff below, changes in quantity of whitespace are not shown.) Index: CodeGen.java =================================================================== RCS file: /cvsroot/jboss/javassist/src/main/javassist/compiler/CodeGen.java,v retrieving revision 1.25 retrieving revision 1.26 diff -u -b -r1.25 -r1.26 --- CodeGen.java 23 Jun 2005 16:47:14 -0000 1.25 +++ CodeGen.java 30 Jun 2005 17:47:41 -0000 1.26 @@ -1581,7 +1581,6 @@ public void atArrayRead(ASTree array, ASTree index) throws CompileError { - int op; arrayAccess(array, index); bytecode.addOpcode(getArrayReadOp(exprType, arrayDim)); } @@ -1607,7 +1606,6 @@ } protected static int getArrayReadOp(int type, int dim) { - int op; if (dim > 0) return AALOAD; @@ -1633,7 +1631,6 @@ } protected static int getArrayWriteOp(int type, int dim) { - int op; if (dim > 0) return AASTORE; 1.7 +2 -0 javassist/src/main/javassist/compiler/CompileError.java (In the diff below, changes in quantity of whitespace are not shown.) Index: CompileError.java =================================================================== RCS file: /cvsroot/jboss/javassist/src/main/javassist/compiler/CompileError.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -b -r1.6 -r1.7 --- CompileError.java 18 Jan 2005 07:08:09 -0000 1.6 +++ CompileError.java 30 Jun 2005 17:47:41 -0000 1.7 @@ -40,6 +40,8 @@ this("cannot find " + e.getMessage()); } + public Lex getLex() { return lex; } + public String getMessage() { return reason; } |