"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "pmd-java/src/main/java/net/sourceforge/pmd/lang/java/AbstractJavaHandler.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).

AbstractJavaHandler.java  (pmd-src-6.37.0):AbstractJavaHandler.java  (pmd-src-6.38.0)
skipping to change at line 65 skipping to change at line 65
@Override @Override
public DataFlowHandler getDataFlowHandler() { public DataFlowHandler getDataFlowHandler() {
return new JavaDataFlowHandler(); return new JavaDataFlowHandler();
} }
@Override @Override
public XPathHandler getXPathHandler() { public XPathHandler getXPathHandler() {
return new DefaultASTXPathHandler() { return new DefaultASTXPathHandler() {
@Override @Override
public void initialize() { public void initialize() {
super.initialize();
TypeOfFunction.registerSelfInSimpleContext(); TypeOfFunction.registerSelfInSimpleContext();
GetCommentOnFunction.registerSelfInSimpleContext(); GetCommentOnFunction.registerSelfInSimpleContext();
MetricFunction.registerSelfInSimpleContext(); MetricFunction.registerSelfInSimpleContext();
TypeIsFunction.registerSelfInSimpleContext(); TypeIsFunction.registerSelfInSimpleContext();
TypeIsExactlyFunction.registerSelfInSimpleContext(); TypeIsExactlyFunction.registerSelfInSimpleContext();
} }
@Override @Override
public void initialize(IndependentContext context) { public void initialize(IndependentContext context) {
super.initialize(context);
super.initialize(context, LanguageRegistry.getLanguage(JavaLangu ageModule.NAME), JavaFunctions.class); super.initialize(context, LanguageRegistry.getLanguage(JavaLangu ageModule.NAME), JavaFunctions.class);
} }
}; };
} }
@Override @Override
public RuleViolationFactory getRuleViolationFactory() { public RuleViolationFactory getRuleViolationFactory() {
return JavaRuleViolationFactory.INSTANCE; return JavaRuleViolationFactory.INSTANCE;
} }
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

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