Author: sebb
Date: Thu Sep 25 16:04:32 2008
New Revision: 699127

URL: http://svn.apache.org/viewvc?rev=699127&view=rev
Log:
Add some Javadoc

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java

Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java?rev=699127&r1=699126&r2=699127&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java 
(original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java Thu 
Sep 25 16:04:32 2008
@@ -1079,6 +1079,12 @@
         return f;
     }
 
+    /**
+     * Returns the cached result from calling 
+     * InetAddress.getLocalHost().getHostAddress()
+     * 
+     * @return String representation of local IP address
+     */
     public static synchronized String getLocalHostIP(){
         if (localHostIP == null) {
             getLocalHostDetails();
@@ -1086,6 +1092,12 @@
         return localHostIP;
     }
 
+    /**
+     * Returns the cached result from calling 
+     * InetAddress.getLocalHost().getHostName()
+     * 
+     * @return local host name
+     */
     public static synchronized String getLocalHostName(){
         if (localHostName == null) {
             getLocalHostDetails();
@@ -1093,6 +1105,12 @@
         return localHostName;
     }
 
+    /**
+     * Returns the cached result from calling 
+     * InetAddress.getLocalHost().getCanonicalHostName()
+     * 
+     * @return local host name in canonical form
+     */
     public static synchronized String getLocalHostFullName(){
         if (localHostFullName == null) {
             getLocalHostDetails();



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to