code cleanup: deprecated calls to setFinal()

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6330 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch committed 2008-07-16 04:02:47 +00:00
1 parent f44b9af001
commit a3ddf7f8ca
2 files changed
+9 -9

No files matched your search

+2 -2
View File
@@ -1318,7 +1318,7 @@ void FormalParameter() :
{
}
{
( "final" {jjtThis.setFinal();} | Annotation() )*
( "final" {jjtThis.setFinal(true);} | Annotation() )*
Type()
[ "..." {checkForBadVariableArgumentsUsage();} {jjtThis.setVarargs();} ]
VariableDeclaratorId()
@@ -1789,7 +1789,7 @@ void BlockStatement():
void LocalVariableDeclaration() :
{}
{
( "final" {jjtThis.setFinal();} | Annotation() )*
( "final" {jjtThis.setFinal(true);} | Annotation() )*
Type()
VariableDeclarator()
( "," VariableDeclarator() )*
@@ -1557,7 +1557,7 @@ jjtn000.setModifiers(modifiers);
switch (jj_nt.kind) {
case FINAL:
jj_consume_token(FINAL);
jjtn000.setFinal();
jjtn000.setFinal(true);
break;
case AT:
Annotation();
@@ -4215,7 +4215,7 @@ jjtree.openNodeScope(jjtn000);Token t;
switch (jj_nt.kind) {
case FINAL:
jj_consume_token(FINAL);
jjtn000.setFinal();
jjtn000.setFinal(true);
break;
case AT:
Annotation();
@@ -8080,6 +8080,11 @@ jjtn000.setModifiers(modifiers);
return false;
}
private boolean jj_3R_213() {
if (jj_3R_98()) return true;
return false;
}
private boolean jj_3R_362() {
if (jj_3R_373()) return true;
Token xsp;
@@ -8090,11 +8095,6 @@ jjtn000.setModifiers(modifiers);
return false;
}
private boolean jj_3R_213() {
if (jj_3R_98()) return true;
return false;
}
private boolean jj_3_43() {
if (jj_3R_75()) return true;
Token xsp;