Release 4.2.5.2.0
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6994 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -1,22 +0,0 @@
|
||||
package net.sourceforge.pmd.jdeveloper;
|
||||
|
||||
import java.util.Iterator;
|
||||
import java.util.Properties;
|
||||
|
||||
import oracle.ide.Ide;
|
||||
|
||||
|
||||
public class IDEStorage implements SettingsStorage {
|
||||
|
||||
public void save(final Properties props) throws SettingsException {
|
||||
for (final Iterator i = props.keySet().iterator(); i.hasNext(); ) {
|
||||
final String key = (String)i.next();
|
||||
final String value = props.getProperty(key);
|
||||
Ide.setProperty(key, value);
|
||||
}
|
||||
}
|
||||
|
||||
public String load(final String key) throws SettingsException {
|
||||
return Ide.getProperty(key);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user