"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/ast/ApexParserTestBase.java" between
pmd-src-6.37.0.zip and pmd-src-6.38.0.zip

About: PMD is a source code analyzer for Java, JavaScript, XML and others. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth. Sources (Java).

ApexParserTestBase.java  (pmd-src-6.37.0):ApexParserTestBase.java  (pmd-src-6.38.0)
skipping to change at line 17 skipping to change at line 17
import apex.jorje.semantic.ast.compilation.Compilation; import apex.jorje.semantic.ast.compilation.Compilation;
public class ApexParserTestBase { public class ApexParserTestBase {
protected final ApexParsingHelper apex = ApexParsingHelper.DEFAULT.withResou rceContext(getClass()); protected final ApexParsingHelper apex = ApexParsingHelper.DEFAULT.withResou rceContext(getClass());
protected ApexNode<Compilation> parse(String code) { protected ApexNode<Compilation> parse(String code) {
return apex.parse(code); return apex.parse(code);
} }
protected ApexNode<? extends Compilation> parse(String code, String fileName
) {
return apex.parse(code, null, fileName);
}
protected ApexNode<Compilation> parseResource(String code) { protected ApexNode<Compilation> parseResource(String code) {
return apex.parseResource(code); return apex.parseResource(code);
} }
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)