HADOOP-8329. Build fails with Java 7. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1340268 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ea0baa3609
commit
20f935eaea
|
@ -186,6 +186,8 @@ Release 2.0.1-alpha - UNRELEASED
|
|||
HADOOP-8408. MR doesn't work with a non-default ViewFS mount table
|
||||
and security enabled. (atm via eli)
|
||||
|
||||
HADOOP-8329. Build fails with Java 7. (eli)
|
||||
|
||||
Release 2.0.0-alpha - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -697,10 +697,10 @@ public class Gridmix extends Configured implements Tool {
|
|||
}
|
||||
}
|
||||
|
||||
private <T> String getEnumValues(Enum<? extends T>[] e) {
|
||||
private String getEnumValues(Enum<?>[] e) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String sep = "";
|
||||
for (Enum<? extends T> v : e) {
|
||||
for (Enum<?> v : e) {
|
||||
sb.append(sep);
|
||||
sb.append(v.name());
|
||||
sep = "|";
|
||||
|
|
Loading…
Reference in New Issue