hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject hadoop git commit: YARN-5833. Addendum patch to fix JDK7 compile issue.
Date Wed, 09 Nov 2016 00:54:23 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 4f25fd975 -> 6685a0a06


YARN-5833. Addendum patch to fix JDK7 compile issue.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6685a0a0
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6685a0a0
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6685a0a0

Branch: refs/heads/branch-2
Commit: 6685a0a064624a38956e917f5f6d97cc4d271cfd
Parents: 4f25fd9
Author: Subru Krishnan <subru@apache.org>
Authored: Tue Nov 8 16:54:19 2016 -0800
Committer: Subru Krishnan <subru@apache.org>
Committed: Tue Nov 8 16:54:19 2016 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/conf/TestConfigurationFieldsBase.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6685a0a0/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfigurationFieldsBase.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfigurationFieldsBase.java
b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfigurationFieldsBase.java
index 9007c20..4d143fd 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfigurationFieldsBase.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestConfigurationFieldsBase.java
@@ -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);
           }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message