Author: ebourg
Date: Wed Apr 23 11:53:32 2014
New Revision: 1589377
URL: http://svn.apache.org/r1589377
Log:
Removed the final modifier from the private methods
Modified:
commons/proper/bcel/trunk/src/examples/JasminVisitor.java
commons/proper/bcel/trunk/src/examples/Mini/ASCII_CharStream.java
commons/proper/bcel/trunk/src/examples/Mini/Environment.java
commons/proper/bcel/trunk/src/examples/Mini/MiniParserTokenManager.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AccessFlags.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ClassParser.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Code.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/JavaClass.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/IINC.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/MethodGen.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/RET.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/SWITCH.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/AttributeHTML.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/CodeHTML.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/ConstantHTML.java
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/MethodHTML.java
Modified: commons/proper/bcel/trunk/src/examples/JasminVisitor.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/examples/JasminVisitor.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/examples/JasminVisitor.java (original)
+++ commons/proper/bcel/trunk/src/examples/JasminVisitor.java Wed Apr 23
11:53:32 2014
@@ -119,7 +119,7 @@ public class JasminVisitor extends org.a
* for every of the method's attributes if it's the last one and print ".end
method"
* then.
*/
- private final void printEndMethod(Attribute attr) {
+ private void printEndMethod(Attribute attr) {
Attribute[] attributes = _method.getAttributes();
if(attr == attributes[attributes.length - 1]) {
@@ -292,12 +292,12 @@ public class JasminVisitor extends org.a
printEndMethod(code);
}
- private final String get(InstructionHandle ih) {
+ private String get(InstructionHandle ih) {
String str = new StringTokenizer(map.get(ih), "\n").nextToken();
return str.substring(0, str.length() - 1);
}
- private final void put(InstructionHandle ih, String line) {
+ private void put(InstructionHandle ih, String line) {
String str = map.get(ih);
if(str == null) {
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=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/examples/Mini/ASCII_CharStream.java (original)
+++ commons/proper/bcel/trunk/src/examples/Mini/ASCII_CharStream.java Wed Apr
23 11:53:32 2014
@@ -45,7 +45,7 @@ public final class ASCII_CharStream
static private int maxNextCharInd = 0;
static private int inBuf = 0;
- static private final void ExpandBuff(boolean wrapAround)
+ static private void ExpandBuff(boolean wrapAround)
{
char[] newbuffer = new char[bufsize + 2048];
int newbufline[] = new int[bufsize + 2048];
@@ -95,7 +95,7 @@ public final class ASCII_CharStream
tokenBegin = 0;
}
- static private final void FillBuff() throws java.io.IOException
+ static private void FillBuff() throws java.io.IOException
{
if (maxNextCharInd == available)
{
@@ -152,7 +152,7 @@ public final class ASCII_CharStream
return c;
}
- static private final void UpdateLineColumn(char c)
+ static private void UpdateLineColumn(char c)
{
column++;
Modified: commons/proper/bcel/trunk/src/examples/Mini/Environment.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/examples/Mini/Environment.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/examples/Mini/Environment.java (original)
+++ commons/proper/bcel/trunk/src/examples/Mini/Environment.java Wed Apr 23
11:53:32 2014
@@ -54,7 +54,7 @@ public class Environment implements Clon
this(SIZE);
}
- private final int hashCode(String key) {
+ private int hashCode(String key) {
return Math.abs(key.hashCode()) % size;
}
Modified:
commons/proper/bcel/trunk/src/examples/Mini/MiniParserTokenManager.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/examples/Mini/MiniParserTokenManager.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/examples/Mini/MiniParserTokenManager.java
(original)
+++ commons/proper/bcel/trunk/src/examples/Mini/MiniParserTokenManager.java Wed
Apr 23 11:53:32 2014
@@ -20,11 +20,11 @@ package Mini;
public class MiniParserTokenManager implements MiniParserConstants
{
-static private final int jjMoveStringLiteralDfa0_1()
+static private int jjMoveStringLiteralDfa0_1()
{
return jjMoveNfa_1(0, 0);
}
-static private final void jjCheckNAdd(int state)
+static private void jjCheckNAdd(int state)
{
if (jjrounds[state] != jjround)
{
@@ -32,29 +32,29 @@ static private final void jjCheckNAdd(in
jjrounds[state] = jjround;
}
}
-static private final void jjAddStates(int start, int end)
+static private void jjAddStates(int start, int end)
{
do {
jjstateSet[jjnewStateCnt++] = jjnextStates[start];
} while (start++ != end);
}
-static private final void jjCheckNAddTwoStates(int state1, int state2)
+static private void jjCheckNAddTwoStates(int state1, int state2)
{
jjCheckNAdd(state1);
jjCheckNAdd(state2);
}
-//static private final void jjCheckNAddStates(int start, int end)
+//static private void jjCheckNAddStates(int start, int end)
//{
// do {
// jjCheckNAdd(jjnextStates[start]);
// } while (start++ != end);
//}
-//static private final void jjCheckNAddStates(int start)
+//static private void jjCheckNAddStates(int start)
//{
// jjCheckNAdd(jjnextStates[start]);
// jjCheckNAdd(jjnextStates[start + 1]);
//}
-static private final int jjMoveNfa_1(int startState, int curPos)
+static private int jjMoveNfa_1(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 3;
@@ -184,13 +184,13 @@ private static final int jjStartNfa_0(in
{
return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1);
}
-static private final int jjStopAtPos(int pos, int kind)
+static private int jjStopAtPos(int pos, int kind)
{
jjmatchedKind = kind;
jjmatchedPos = pos;
return pos + 1;
}
-static private final int jjStartNfaWithStates_0(int pos, int kind, int state)
+static private int jjStartNfaWithStates_0(int pos, int kind, int state)
{
jjmatchedKind = kind;
jjmatchedPos = pos;
@@ -198,7 +198,7 @@ static private final int jjStartNfaWithS
catch(java.io.IOException e) { return pos + 1; }
return jjMoveNfa_0(state, pos + 1);
}
-static private final int jjMoveStringLiteralDfa0_0()
+static private int jjMoveStringLiteralDfa0_0()
{
switch(curChar)
{
@@ -253,7 +253,7 @@ static private final int jjMoveStringLit
return jjMoveNfa_0(0, 0);
}
}
-static private final int jjMoveStringLiteralDfa1_0(long active0)
+static private int jjMoveStringLiteralDfa1_0(long active0)
{
try { curChar = ASCII_CharStream.readChar(); }
catch(java.io.IOException e) {
@@ -313,7 +313,7 @@ static private final int jjMoveStringLit
}
return jjStartNfa_0(0, active0);
}
-static private final int jjMoveStringLiteralDfa2_0(long old0, long active0)
+static private int jjMoveStringLiteralDfa2_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L) {
return jjStartNfa_0(0, old0);
@@ -357,7 +357,7 @@ static private final int jjMoveStringLit
}
return jjStartNfa_0(1, active0);
}
-static private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
+static private int jjMoveStringLiteralDfa3_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L) {
return jjStartNfa_0(1, old0);
@@ -395,7 +395,7 @@ static private final int jjMoveStringLit
}
return jjStartNfa_0(2, active0);
}
-static private final int jjMoveStringLiteralDfa4_0(long old0, long active0)
+static private int jjMoveStringLiteralDfa4_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L) {
return jjStartNfa_0(2, old0);
@@ -422,7 +422,7 @@ static private final int jjMoveStringLit
static final long[] jjbitVec0 = {
0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
};
-static private final int jjMoveNfa_0(int startState, int curPos)
+static private int jjMoveNfa_0(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 6;
@@ -609,7 +609,7 @@ static public void ReInit(ASCII_CharStre
input_stream = stream;
ReInitRounds();
}
-static private final void ReInitRounds()
+static private void ReInitRounds()
{
int i;
jjround = 0x80000001;
@@ -631,7 +631,7 @@ static public void SwitchTo(int lexState
}
}
-static private final Token jjFillToken()
+static private Token jjFillToken()
{
Token t = Token.newToken(jjmatchedKind);
t.kind = jjmatchedKind;
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AccessFlags.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AccessFlags.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AccessFlags.java
(original)
+++
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AccessFlags.java
Wed Apr 23 11:53:32 2014
@@ -76,7 +76,7 @@ public abstract class AccessFlags implem
}
- private final void setFlag( int flag, boolean set ) {
+ private void setFlag( int flag, boolean set ) {
if ((access_flags & flag) != 0) { // Flag is set already
if (!set) {
access_flags ^= flag;
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ClassParser.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ClassParser.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ClassParser.java
(original)
+++
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ClassParser.java
Wed Apr 23 11:53:32 2014
@@ -194,7 +194,7 @@ public final class ClassParser {
* @throws IOException
* @throws ClassFormatException
*/
- private final void readAttributes() throws IOException,
ClassFormatException {
+ private void readAttributes() throws IOException, ClassFormatException {
int attributes_count;
attributes_count = file.readUnsignedShort();
attributes = new Attribute[attributes_count];
@@ -209,7 +209,7 @@ public final class ClassParser {
* @throws IOException
* @throws ClassFormatException
*/
- private final void readClassInfo() throws IOException,
ClassFormatException {
+ private void readClassInfo() throws IOException, ClassFormatException {
access_flags = file.readUnsignedShort();
/* Interfaces are implicitely abstract, the flag should be set
* according to the JVM specification.
@@ -231,7 +231,7 @@ public final class ClassParser {
* @throws IOException
* @throws ClassFormatException
*/
- private final void readConstantPool() throws IOException,
ClassFormatException {
+ private void readConstantPool() throws IOException, ClassFormatException {
constant_pool = new ConstantPool(file);
}
@@ -241,7 +241,7 @@ public final class ClassParser {
* @throws IOException
* @throws ClassFormatException
*/
- private final void readFields() throws IOException, ClassFormatException {
+ private void readFields() throws IOException, ClassFormatException {
int fields_count;
fields_count = file.readUnsignedShort();
fields = new Field[fields_count];
@@ -258,7 +258,7 @@ public final class ClassParser {
* @throws IOException
* @throws ClassFormatException
*/
- private final void readID() throws IOException, ClassFormatException {
+ private void readID() throws IOException, ClassFormatException {
int magic = 0xCAFEBABE;
if (file.readInt() != magic) {
throw new ClassFormatException(file_name + " is not a Java .class
file");
@@ -271,7 +271,7 @@ public final class ClassParser {
* @throws IOException
* @throws ClassFormatException
*/
- private final void readInterfaces() throws IOException,
ClassFormatException {
+ private void readInterfaces() throws IOException, ClassFormatException {
int interfaces_count;
interfaces_count = file.readUnsignedShort();
interfaces = new int[interfaces_count];
@@ -286,7 +286,7 @@ public final class ClassParser {
* @throws IOException
* @throws ClassFormatException
*/
- private final void readMethods() throws IOException, ClassFormatException {
+ private void readMethods() throws IOException, ClassFormatException {
int methods_count;
methods_count = file.readUnsignedShort();
methods = new Method[methods_count];
@@ -301,7 +301,7 @@ public final class ClassParser {
* @throws IOException
* @throws ClassFormatException
*/
- private final void readVersion() throws IOException, ClassFormatException {
+ private void readVersion() throws IOException, ClassFormatException {
minor = file.readUnsignedShort();
major = file.readUnsignedShort();
}
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Code.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Code.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Code.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/Code.java
Wed Apr 23 11:53:32 2014
@@ -232,7 +232,7 @@ public final class Code extends Attribut
* @return the internal length of this code attribute (minus the first 6
bytes)
* and excluding all its attributes
*/
- private final int getInternalLength() {
+ private int getInternalLength() {
return 2 /*max_stack*/+ 2 /*max_locals*/+ 4 /*code length*/
+ code_length /*byte-code*/
+ 2 /*exception-table length*/
@@ -245,7 +245,7 @@ public final class Code extends Attribut
* @return the full size of this code attribute, minus its first 6 bytes,
* including the size of all its contained attributes
*/
- private final int calculateLength() {
+ private int calculateLength() {
int len = 0;
for (int i = 0; i < attributes_count; i++) {
len += attributes[i].length + 6 /*attribute header size*/;
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/JavaClass.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/JavaClass.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/JavaClass.java
(original)
+++
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/JavaClass.java
Wed Apr 23 11:53:32 2014
@@ -727,7 +727,7 @@ public class JavaClass extends AccessFla
return this.isNested;
}
- private final void computeNestedTypeStatus() {
+ private void computeNestedTypeStatus() {
if (computedNestedTypeStatus) {
return;
}
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/IINC.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/IINC.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/IINC.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/IINC.java
Wed Apr 23 11:53:32 2014
@@ -75,7 +75,7 @@ public class IINC extends LocalVariableI
}
- private final void setWide() {
+ private void setWide() {
wide = (n > org.apache.bcel.Constants.MAX_BYTE) || (Math.abs(c) >
Byte.MAX_VALUE);
if (wide) {
length = 6; // wide byte included
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java
(original)
+++
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/LocalVariableInstruction.java
Wed Apr 23 11:53:32 2014
@@ -37,7 +37,7 @@ public abstract class LocalVariableInstr
private short canon_tag = -1; // canonical tag such as ILOAD
- private final boolean wide() {
+ private boolean wide() {
return n > Constants.MAX_BYTE;
}
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/MethodGen.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/MethodGen.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/MethodGen.java
(original)
+++
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/MethodGen.java
Wed Apr 23 11:53:32 2014
@@ -917,14 +917,14 @@ public class MethodGen extends FieldGenO
}
- private final BranchTarget visit( InstructionHandle target, int
stackDepth ) {
+ private BranchTarget visit( InstructionHandle target, int stackDepth )
{
BranchTarget bt = new BranchTarget(target, stackDepth);
visitedTargets.put(target, bt);
return bt;
}
- private final boolean visited( InstructionHandle target ) {
+ private boolean visited( InstructionHandle target ) {
return (visitedTargets.get(target) != null);
}
}
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/RET.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/RET.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/RET.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/RET.java
Wed Apr 23 11:53:32 2014
@@ -68,7 +68,7 @@ public class RET extends Instruction imp
}
- private final void setWide() {
+ private void setWide() {
wide = index > org.apache.bcel.Constants.MAX_BYTE;
if (wide) {
length = 4; // Including the wide byte
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/SWITCH.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/SWITCH.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/SWITCH.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/SWITCH.java
Wed Apr 23 11:53:32 2014
@@ -70,7 +70,7 @@ public final class SWITCH implements Com
}
- private final void fillup( int max_gap, InstructionHandle target ) {
+ private void fillup( int max_gap, InstructionHandle target ) {
int max_size = match_length + match_length * max_gap;
int[] m_vec = new int[max_size];
InstructionHandle[] t_vec = new InstructionHandle[max_size];
@@ -99,7 +99,7 @@ public final class SWITCH implements Com
/**
* Sort match and targets array with QuickSort.
*/
- private final void sort( int l, int r ) {
+ private void sort( int l, int r ) {
int i = l, j = r;
int h, m = match[(l + r) / 2];
InstructionHandle h2;
@@ -133,7 +133,7 @@ public final class SWITCH implements Com
/**
* @return match is sorted in ascending order with no gap bigger than
max_gap?
*/
- private final boolean matchIsOrdered( int max_gap ) {
+ private boolean matchIsOrdered( int max_gap ) {
for (int i = 1; i < match_length; i++) {
if (match[i] - match[i - 1] > max_gap) {
return false;
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/AttributeHTML.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/AttributeHTML.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/AttributeHTML.java
(original)
+++
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/AttributeHTML.java
Wed Apr 23 11:53:32 2014
@@ -62,7 +62,7 @@ final class AttributeHTML implements org
}
- private final String codeLink( int link, int method_number ) {
+ private String codeLink( int link, int method_number ) {
return "<A HREF=\"" + class_name + "_code.html#code" + method_number +
"@" + link
+ "\" TARGET=Code>" + link + "</A>";
}
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/CodeHTML.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/CodeHTML.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/CodeHTML.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/CodeHTML.java
Wed Apr 23 11:53:32 2014
@@ -75,7 +75,7 @@ final class CodeHTML implements org.apac
* @param stream data input stream
* @return String representation of byte code
*/
- private final String codeToHTML( ByteSequence bytes, int method_number )
throws IOException {
+ private String codeToHTML( ByteSequence bytes, int method_number ) throws
IOException {
short opcode = (short) bytes.readUnsignedByte();
StringBuilder buf;
String name, signature;
@@ -365,7 +365,7 @@ final class CodeHTML implements org.apac
* Find all target addresses in code, so that they can be marked
* with <A NAME = ...>. Target addresses are kept in an BitSet
object.
*/
- private final void findGotos( ByteSequence bytes, Code code ) throws
IOException {
+ private void findGotos( ByteSequence bytes, Code code ) throws IOException
{
int index;
goto_set = new BitSet(bytes.available());
int opcode;
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/ConstantHTML.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/ConstantHTML.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/ConstantHTML.java
(original)
+++
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/ConstantHTML.java
Wed Apr 23 11:53:32 2014
@@ -222,7 +222,7 @@ final class ConstantHTML implements org.
}
- private final int getMethodNumber( String str ) {
+ private int getMethodNumber( String str ) {
for (int i = 0; i < methods.length; i++) {
String cmp = methods[i].getName() + methods[i].getSignature();
if (cmp.equals(str)) {
Modified:
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/MethodHTML.java
URL:
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/MethodHTML.java?rev=1589377&r1=1589376&r2=1589377&view=diff
==============================================================================
---
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/MethodHTML.java
(original)
+++
commons/proper/bcel/trunk/src/main/java/org/apache/bcel/util/MethodHTML.java
Wed Apr 23 11:53:32 2014
@@ -100,7 +100,7 @@ final class MethodHTML implements org.ap
}
- private final void writeMethod( Method method, int method_number ) {
+ private void writeMethod( Method method, int method_number ) {
// Get raw signature
String signature = method.getSignature();
// Get array of strings containing the argument types