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

This commit is contained in:
Harsh J 2015-09-22 21:37:41 +05:30
parent 57003fa971
commit cc2b473990
2 changed files with 3 additions and 5 deletions

View File

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

View File

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