Author: j16sdiz
Date: 2009-02-16 09:17:03 +0000 (Mon, 16 Feb 2009)
New Revision: 25657
Modified:
trunk/freenet/src/freenet/io/comm/FreenetInetAddress.java
Log:
javadoc
Modified: trunk/freenet/src/freenet/io/comm/FreenetInetAddress.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/FreenetInetAddress.java 2009-02-16
09:01:40 UTC (rev 25656)
+++ trunk/freenet/src/freenet/io/comm/FreenetInetAddress.java 2009-02-16
09:17:03 UTC (rev 25657)
@@ -369,6 +369,13 @@
}
}
+ /**
+ * Get a new <code>FreenetInetAddress</code> with host name removed.
+ *
+ * @return a new <code>FreenetInetAddress</code> with host name
removed; or {...@code null} if no
+ * known ip address is associated with this object. You may
want to do a
+ * <code>getAddress(true)</code> before calling this.
+ */
public FreenetInetAddress dropHostname() {
if(_address == null) {
Logger.error(this, "Can't dropHostname() if no
address!");
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs