* I2PAppContext: New getProperties() method

* i2ptunnel:
      - Use context properties as defaults
This commit is contained in:
zzz
2011-01-03 14:26:22 +00:00
parent 378490886f
commit 1a3b0d3812
2 changed files with 17 additions and 2 deletions

View File

@ -118,8 +118,8 @@ public class I2PTunnel implements Logging, EventDispatcher {
_tunnelId = ++__tunnelId;
_log = _context.logManager().getLog(I2PTunnel.class);
_event = new EventDispatcherImpl();
Properties p = new Properties();
p.putAll(System.getProperties());
// as of 0.8.4, include context properties
Properties p = _context.getProperties();
_clientOptions = p;
_sessions = new ArrayList(1);