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

(cherry picked from commit de1322aa76007832698af682a3b76042116043b9)
This commit is contained in:
Harsh J 2015-09-22 21:37:41 +05:30
parent 96e3fbf401
commit 38420754f5
2 changed files with 3 additions and 5 deletions

View File

@ -20,6 +20,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)

View File

@ -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