diff options
Diffstat (limited to 'sources/prefs/editors')
| -rw-r--r-- | sources/prefs/editors/VSAbstractEditor.java | 8 | ||||
| -rw-r--r-- | sources/prefs/editors/VSProcessEditor.java | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/sources/prefs/editors/VSAbstractEditor.java b/sources/prefs/editors/VSAbstractEditor.java index 1b6351c..934fa2e 100644 --- a/sources/prefs/editors/VSAbstractEditor.java +++ b/sources/prefs/editors/VSAbstractEditor.java @@ -667,14 +667,6 @@ public abstract class VSAbstractEditor implements ActionListener { fullKeys.addAll(filterOut(prefsToAdd.getBooleanKeySet(), addOnlyThisVariables, VSPrefs.BOOLEAN_PREFIX)); fullKeys.addAll(filterOut(prefsToAdd.getStringKeySet(), addOnlyThisVariables, VSPrefs.STRING_PREFIX)); - /* - for (String key : integerKeys) fullKeys.add(VSPrefs.INTEGER_PREFIX + key); - for (String key : vectorKeys) fullKeys.add(VSPrefs.VECTOR_PREFIX + key); - for (String key : floatKeys) fullKeys.add(VSPrefs.FLOAT_PREFIX + key); - for (String key : longKeys) fullKeys.add(VSPrefs.LONG_PREFIX + key); - for (String key : booleanKeys) fullKeys.add(VSPrefs.BOOLEAN_PREFIX + key); - for (String key : stringKeys) fullKeys.add(VSPrefs.STRING_PREFIX + key); - */ Collections.sort(fullKeys); for (String fullKey : fullKeys) { diff --git a/sources/prefs/editors/VSProcessEditor.java b/sources/prefs/editors/VSProcessEditor.java index 1992d6c..bb09b0d 100644 --- a/sources/prefs/editors/VSProcessEditor.java +++ b/sources/prefs/editors/VSProcessEditor.java @@ -61,7 +61,7 @@ public class VSProcessEditor extends VSAbstractBetterEditor { String serverString = " " + prefs.getString("lang.server"); for (String protocolClassname : editableProtocolsClassnames) { - String protocolShortname = VSRegisteredEvents.getShortname(protocolClassname); + String protocolShortname = VSRegisteredEvents.getShortnameByClassname(protocolClassname); VSAbstractProtocol protocol = process.getProtocolObject(protocolClassname); protocol.onClientInit(); protocol.onServerInit(); |
