Removed a hardcoded 'NOPMD'

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4519 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2006-09-21 19:17:09 +00:00
parent 9fb0af8b0f
commit c5bfc2f410
3 changed files with 10 additions and 7 deletions

View File

@ -66,6 +66,7 @@ options {
PARSER_BEGIN(JavaParser)
package net.sourceforge.pmd.ast;
import java.util.*;
import net.sourceforge.pmd.PMD;
public class JavaParser {
private boolean isJDK13;
@ -144,7 +145,7 @@ public class JavaParser {
PARSER_END(JavaParser)
TOKEN_MGR_DECLS : {
private Map excludeMap = new HashMap();
private String excludeMarker = "NOPMD";
private String excludeMarker = PMD.EXCLUDE_MARKER;
public void setExcludeMarker(String marker) {
this.excludeMarker = marker;

View File

@ -1,6 +1,7 @@
/* Generated By:JJTree&JavaCC: Do not edit this line. JavaParser.java */
package net.sourceforge.pmd.ast;
import java.util.*;
import net.sourceforge.pmd.PMD;
public class JavaParser/*@bgen(jjtree)*/implements JavaParserTreeConstants, JavaParserConstants {/*@bgen(jjtree)*/
protected JJTJavaParserState jjtree = new JJTJavaParserState();
private boolean isJDK13;
@ -6108,11 +6109,6 @@ jjtn000.setModifiers(modifiers);
finally { jj_save(49, xla); }
}
final private boolean jj_3R_295() {
if (jj_scan_token(LE)) return true;
return false;
}
final private boolean jj_3R_294() {
if (jj_scan_token(GT)) return true;
return false;
@ -9034,6 +9030,11 @@ jjtn000.setModifiers(modifiers);
return false;
}
final private boolean jj_3R_295() {
if (jj_scan_token(LE)) return true;
return false;
}
public JavaParserTokenManager token_source;
public Token token, jj_nt;
private Token jj_scanpos, jj_lastpos;

View File

@ -1,11 +1,12 @@
/* Generated By:JJTree&JavaCC: Do not edit this line. JavaParserTokenManager.java */
package net.sourceforge.pmd.ast;
import java.util.*;
import net.sourceforge.pmd.PMD;
public class JavaParserTokenManager implements JavaParserConstants
{
private Map excludeMap = new HashMap();
private String excludeMarker = "NOPMD";
private String excludeMarker = PMD.EXCLUDE_MARKER;
public void setExcludeMarker(String marker) {
this.excludeMarker = marker;