diff --git a/core/java/src/net/i2p/data/LeaseSet2.java b/core/java/src/net/i2p/data/LeaseSet2.java index 561803442..c402c11e6 100644 --- a/core/java/src/net/i2p/data/LeaseSet2.java +++ b/core/java/src/net/i2p/data/LeaseSet2.java @@ -134,6 +134,14 @@ public class LeaseSet2 extends LeaseSet { return _options.getProperty(opt); } + /** + * @return not a copy, do not modify, or null + * @since 0.9.63 + */ + public Properties getOptions() { + return _options; + } + /** * If more than one key, return the first supported one. * If none supported, return the first one. @@ -237,8 +245,7 @@ public class LeaseSet2 extends LeaseSet { _options.clear(); else _options = new OrderedProperties(); - if (options != null) - _options.putAll(options); + _options.putAll(options); } public boolean isOffline() {