mirror of
https://github.com/apache/sqoop.git
synced 2025-05-04 14:50:00 +08:00
SQOOP-1685: HCatalog integration is not working on JDK8
(Jarek Jarcec Cecho via Abraham Elmahrek)
This commit is contained in:
parent
63d1fc2214
commit
933e71ef30
@ -179,6 +179,13 @@ public V put(String key, V value) {
|
|||||||
public V get(Object key) {
|
public V get(Object key) {
|
||||||
return super.get(((String) key).toLowerCase());
|
return super.get(((String) key).toLowerCase());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void putAll(Map<? extends String, ? extends V> map) {
|
||||||
|
for(Map.Entry<? extends String, ? extends V> entry: map.entrySet()) {
|
||||||
|
put(entry.getKey(), entry.getValue());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -198,6 +205,13 @@ public V put(String key, V value) {
|
|||||||
public V get(Object key) {
|
public V get(Object key) {
|
||||||
return super.get(((String) key).toUpperCase());
|
return super.get(((String) key).toUpperCase());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void putAll(Map<? extends String, ? extends V> map) {
|
||||||
|
for(Map.Entry<? extends String, ? extends V> entry: map.entrySet()) {
|
||||||
|
put(entry.getKey(), entry.getValue());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user