diff --git a/core/java/src/net/i2p/data/LeaseSet2.java b/core/java/src/net/i2p/data/LeaseSet2.java index 113c859b4..3b19bf6a5 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 49cebff4d..5d8fed534 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