hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1177035 - /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
Date Wed, 28 Sep 2011 20:01:28 GMT
Author: stevel
Date: Wed Sep 28 20:01:28 2011
New Revision: 1177035

URL: http://svn.apache.org/viewvc?rev=1177035&view=rev
Log:
HADOOP-7668 revert the System.out() calls

Modified:
    hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java

Modified: hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java?rev=1177035&r1=1177034&r2=1177035&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
(original)
+++ hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
Wed Sep 28 20:01:28 2011
@@ -526,7 +526,6 @@ public class NetUtils {
   public static boolean isLocalAddress(InetAddress addr) {
     // Check if the address is any local or loop back
     boolean local = addr.isAnyLocalAddress() || addr.isLoopbackAddress();
-    System.out.println("address is any or loopback address " + addr);
 
     // Check if the address is defined on any interface
     if (!local) {
@@ -536,7 +535,6 @@ public class NetUtils {
         local = false;
       }
     }
-        System.out.println("address " + addr + " is local " + local);
     return local;
   }
 }



Mime
View raw message