modified to use TreeMap

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@467 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2002-07-22 20:24:59 +00:00
parent c1aa66ce5e
commit 8e19cafbef

View File

@ -27,14 +27,14 @@ public class PMDOptionPane extends AbstractOptionPane implements OptionPane {
public PMDOptionPane() {
super(PMDJEditPlugin.NAME);
}
public void init() {
try {
selectedRuleSets = new SelectedRuleSetsMap();
} catch (RuleSetNotFoundException rsne) {
rsne.printStackTrace();
}
}
public void init() {
removeAll();
addComponent(new JLabel("Please see http://pmd.sourceforge.net/ for more information on what's in each rule set."));
for (Iterator i = selectedRuleSets.keys(); i.hasNext();) {