24 April 2021
A new PMD for Eclipse plugin version has been released. It is available via the update site: https://pmd.github.io/pmd-eclipse-plugin-p2-site/
This is a minor release.
net.sourceforge.pmd.eclipse.ui.actions.RuleSetUtil
are deprecated:
setExcludePatterns(RuleSet ruleSet, Collection<String> excludePatterns)
setIncludePatterns(RuleSet ruleSet, Collection<String> includePatterns)
addExcludePatterns(RuleSet ruleSet, Collection<String> activeExclusionPatterns, Collection<String> buildPathExcludePatterns)
addIncludePatterns(RuleSet ruleSet, Collection<String> activeInclusionPatterns, Collection<String> buildPathIncludePatterns)
addExcludePatterns(RuleSet rs, Collection<String> excludePatterns)
addIncludePatterns(RuleSet rs, Collection<String> includePatterns)
net.sourceforge.pmd.eclipse.runtime.PMDRuntimeConstants.MAX_VIOLATIONS_DESCRIPTOR
is deprecated and will be removed.net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences.getMaxViolationsPerFilePerRule()
net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences.setMaxViolationsPerFilePerRule(int)
net.sourceforge.pmd.eclipse.runtime.preferences.IPreferences.MAX_VIOLATIONS_PFPR_DEFAULT
net.sourceforge.pmd.eclipse.runtime.cmd.DetectCutAndPasteCmd.setRenderer(Renderer)
is deprecated.net.sourceforge.pmd.RuleSets
. Therefore the following methods are
deprecated now:
net.sourceforge.pmd.eclipse.runtime.cmd.BaseVisitor.getRuleSets()
net.sourceforge.pmd.eclipse.runtime.cmd.BaseVisitor.setRuleSets(RuleSets)
net.sourceforge.pmd.eclipse.runtime.properties.IProjectProperties.getProjectRuleSets()
net.sourceforge.pmd.eclipse.runtime.properties.IProjectProperties.setProjectRuleSets(RuleSets)
net.sourceforge.pmd.eclipse.runtime.properties.impl.ProjectPropertiesImpl.getProjectRuleSets()
net.sourceforge.pmd.eclipse.runtime.properties.impl.ProjectPropertiesImpl.setProjectRuleSets(RuleSets)
net.sourceforge.pmd.eclipse.ui.properties.PMDPropertyPageBean.getProjectRuleSets()
net.sourceforge.pmd.eclipse.ui.properties.PMDPropertyPageBean.setProjectRuleSets(RuleSets)
net.sourceforge.pmd.eclipse.ui.properties.UpdateProjectPropertiesCmd.setProjectRuleSets(RuleSets)