* Ministreaming:

- Make getInt() static
      - Move the big TestSwarm class out of the lib
This commit is contained in:
zzz
2009-08-02 13:37:23 +00:00
parent 316c20ee44
commit d8d76fd327
2 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ public class I2PSocketOptionsImpl implements I2PSocketOptions {
_writeTimeout = getInt(opts, PROP_WRITE_TIMEOUT, DEFAULT_WRITE_TIMEOUT); _writeTimeout = getInt(opts, PROP_WRITE_TIMEOUT, DEFAULT_WRITE_TIMEOUT);
} }
protected int getInt(Properties opts, String name, int defaultVal) { protected static int getInt(Properties opts, String name, int defaultVal) {
if (opts == null) return defaultVal; if (opts == null) return defaultVal;
String val = opts.getProperty(name); String val = opts.getProperty(name);
if (val == null) { if (val == null) {