YARN-5833. Addendum patch to fix JDK7 compile issue.
This commit is contained in:
parent
4f25fd975e
commit
6685a0a064
|
@ -752,7 +752,7 @@ public abstract class TestConfigurationFieldsBase {
|
|||
// Check only for numerical values.
|
||||
if (StringUtils.isNumeric(ent.getValue())) {
|
||||
String crtValue =
|
||||
filteredValues.putIfAbsent(ent.getValue(), ent.getKey());
|
||||
filteredValues.put(ent.getValue(), ent.getKey());
|
||||
assertTrue("Parameters " + ent.getKey() + " and " + crtValue +
|
||||
" are using the same default value!", crtValue == null);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue