forked from I2P_Developers/i2p.i2p
* Passwords:
- Add remove method
- Add console password form to configui.jsp
- Consolidate multiple setSettings()/getJettyString() in FormHandler
- Some form message tweaks
This commit is contained in:
@@ -11,7 +11,6 @@ import net.i2p.router.networkdb.reseed.Reseeder;
|
||||
* @since 0.8.3
|
||||
*/
|
||||
public class ConfigReseedHandler extends FormHandler {
|
||||
private Map _settings;
|
||||
private final Map<String, String> changes = new HashMap();
|
||||
private final List<String> removes = new ArrayList();
|
||||
|
||||
@@ -34,16 +33,6 @@ public class ConfigReseedHandler extends FormHandler {
|
||||
}
|
||||
addFormError(_("Unsupported") + ' ' + _action + '.');
|
||||
}
|
||||
|
||||
public void setSettings(Map settings) { _settings = new HashMap(settings); }
|
||||
|
||||
/** curses Jetty for returning arrays */
|
||||
private String getJettyString(String key) {
|
||||
String[] arr = (String[]) _settings.get(key);
|
||||
if (arr == null)
|
||||
return null;
|
||||
return arr[0].trim();
|
||||
}
|
||||
|
||||
/** @since 0.8.9 */
|
||||
private void saveString(String config, String param) {
|
||||
|
||||
Reference in New Issue
Block a user