forked from phoedos/pmd
#1429406 - can't use Integer.valueOf from 1.5 yet
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4228 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -68,7 +68,7 @@ public class PmdOptionsController extends OptionsPanelController {
|
||||
public void applyChanges() {
|
||||
PMDOptionsSettings setting = PMDOptionsSettings.getDefault();
|
||||
setting.setScanEnabled(Boolean.valueOf(comp.isEnableScan()));
|
||||
setting.setScanInterval(Integer.valueOf(comp.getScanInterval()));
|
||||
setting.setScanInterval(new Integer(comp.getScanInterval()));
|
||||
RulesConfig data = comp.getRules();
|
||||
setting.setRules(data.getRules());
|
||||
setting.setRuleProperties(data.getProperties());
|
||||
|
Reference in New Issue
Block a user