#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:
Radim Kubacki
2006-02-12 13:36:23 +00:00
parent 5d2569f17c
commit 57c74ddfe8

View File

@ -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());