diff --git a/core/java/src/net/i2p/data/LeaseSet2.java b/core/java/src/net/i2p/data/LeaseSet2.java index 113c859b49aff4a31bee13e1170947c54143af2e..3b19bf6a5198ab85ccbe971a07b389138f51a1e3 100644 --- a/core/java/src/net/i2p/data/LeaseSet2.java +++ b/core/java/src/net/i2p/data/LeaseSet2.java @@ -248,8 +248,6 @@ public class LeaseSet2 extends LeaseSet { * Configure a set of options or statistics that the router can expose. * Makes a copy. * - * Warning, clears all capabilities, must be called BEFORE addCapability(). - * * @param options if null, clears current options * @throws IllegalStateException if LeaseSet2 is already signed */ diff --git a/router/java/src/net/i2p/data/router/RouterInfo.java b/router/java/src/net/i2p/data/router/RouterInfo.java index 49cebff4d0d48f733d967c0b0ce4e6613b3d2016..5d8fed534be45f9b82c4fcbde1e875e541c6f09f 100644 --- a/router/java/src/net/i2p/data/router/RouterInfo.java +++ b/router/java/src/net/i2p/data/router/RouterInfo.java @@ -302,7 +302,7 @@ public class RouterInfo extends DatabaseEntry { * Configure a set of options or statistics that the router can expose. * Makes a copy. * - * Warning, clears all capabilities, must be called BEFORE addCapability(). + * Warning, clears all capabilities. * * @param options if null, clears current options * @throws IllegalStateException if RouterInfo is already signed