You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by in...@apache.org on 2017/03/28 21:26:03 UTC
[40/50] [abbrv] hadoop git commit: Delay construction of
PreCondition.check failure message in Configuration#set (jeagles)
Delay construction of PreCondition.check failure message in Configuration#set (jeagles)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/858d597b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/858d597b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/858d597b
Branch: refs/heads/HDFS-10467
Commit: 858d597be00ce006c1d1d4cd476729e4f1de8d25
Parents: 46d37a6
Author: Jonathan Eagles <je...@yahoo-inc.com>
Authored: Mon Mar 27 11:01:48 2017 -0500
Committer: Jonathan Eagles <je...@yahoo-inc.com>
Committed: Mon Mar 27 11:01:48 2017 -0500
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/conf/Configuration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/858d597b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
index a9c8d9c..60b0398 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
@@ -1208,7 +1208,7 @@ public class Configuration implements Iterable<Map.Entry<String,String>>,
"Property name must not be null");
Preconditions.checkArgument(
value != null,
- "The value of property " + name + " must not be null");
+ "The value of property %s must not be null", name);
name = name.trim();
DeprecationContext deprecations = deprecationContext.get();
if (deprecations.getDeprecatedKeyMap().isEmpty()) {
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org