2009-08-11 sponge

* Code Janitor time! Many fixes and documenting fixes that should be
      done in the future. for the most part, this is a general code cleanup.
    * On smaller/embedded systems, the "final" keyword cleanups will have
      more of an impact than on larger systems.
    * Document missing hashCode() methods.
    * Unhide more variables to make code easier to read.
This commit is contained in:
sponge
2009-08-11 21:58:56 +00:00
parent e5eea47b66
commit 3fbff71861
166 changed files with 2575 additions and 2417 deletions

View File

@@ -5,11 +5,11 @@
* Copyright (C) Satoshi Konno 2002-2003
*
* File: HostInterface.java
*
* Revision;
*
* 05/12/03
* - first revision.
*
* Revision;
*
* 05/12/03
* - first revision.
* 05/13/03
* - Added support for IPv6 and loopback address.
* 02/15/04
@@ -22,14 +22,14 @@
* - Changed isUseAddress() to isUsableAddress().
*
******************************************************************/
package org.cybergarage.net;
import java.net.*;
package org.cybergarage.net;
import java.net.*;
import java.util.*;
public class HostInterface
{
public class HostInterface
{
////////////////////////////////////////////////
// Constants
////////////////////////////////////////////////
@@ -101,7 +101,7 @@ public class HostInterface
}
}
}
catch(Exception e){};
catch(Exception e){}
return nHostAddrs;
}
@@ -131,7 +131,7 @@ public class HostInterface
}
}
}
catch(Exception e){};
catch(Exception e){}
return "";
}