From 794db19b6d150ed622264d5a11a3bb665b299b28 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Tue, 2 Feb 2010 15:19:17 +0000 Subject: [PATCH] javadoc --- core/java/src/net/i2p/data/RouterAddress.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/java/src/net/i2p/data/RouterAddress.java b/core/java/src/net/i2p/data/RouterAddress.java index 4d49d67a7f..76de5cf687 100644 --- a/core/java/src/net/i2p/data/RouterAddress.java +++ b/core/java/src/net/i2p/data/RouterAddress.java @@ -39,6 +39,7 @@ public class RouterAddress extends DataStructureImpl { * contacting this router. The value 0 means free and 255 means really expensive. * No value above 255 is allowed. * + * @deprecated unused for now */ public int getCost() { return _cost; @@ -48,6 +49,7 @@ public class RouterAddress extends DataStructureImpl { * Configure the weighted cost of using the address. * No value above 255 is allowed. * + * NTCP is set to 10 and SSU to 5, but it's unused. */ public void setCost(int cost) { _cost = cost; @@ -57,6 +59,7 @@ public class RouterAddress extends DataStructureImpl { * Retrieve the date after which the address should not be used. If this * is null, then the address never expires. * + * @deprecated unused for now */ public Date getExpiration() { return _expiration; @@ -65,6 +68,7 @@ public class RouterAddress extends DataStructureImpl { /** * Configure the expiration date of the address (null for no expiration) * + * Unused for now, always null */ public void setExpiration(Date expiration) { _expiration = expiration; -- GitLab