Browse Source

MAPREDUCE-5045. UtilTest#isCygwin method appears to be unused. Contributed by Neelesh Srinivas Salian.

Harsh J 9 years ago
parent
commit
cc2b473990

+ 3 - 0
hadoop-mapreduce-project/CHANGES.txt

@@ -295,6 +295,9 @@ Release 2.8.0 - UNRELEASED
 
 
   IMPROVEMENTS
   IMPROVEMENTS
 
 
+    MAPREDUCE-5045. UtilTest#isCygwin method appears to be unused
+    (Neelesh Srinivas Salian via harsh)
+
     MAPREDUCE-6291. Correct mapred queue usage command.
     MAPREDUCE-6291. Correct mapred queue usage command.
     (Brahma Reddu Battula via harsh)
     (Brahma Reddu Battula via harsh)
 
 

+ 0 - 5
hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/UtilTest.java

@@ -117,11 +117,6 @@ class UtilTest {
     return collate(vargs, " ");
     return collate(vargs, " ");
   }
   }
 
 
-  public static boolean isCygwin() {
-    String OS = System.getProperty("os.name");
-    return (OS.indexOf("Windows") > -1);
-  }
-
   /**
   /**
    * Is perl supported on this machine ?
    * Is perl supported on this machine ?
    * @return true if perl is available and is working as expected
    * @return true if perl is available and is working as expected