You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2014/10/11 00:41:44 UTC
[02/21] git commit: ACCUMULO-3225 Replace dead ternary statement
ACCUMULO-3225 Replace dead ternary statement
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/7b1bb102
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/7b1bb102
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/7b1bb102
Branch: refs/heads/1.6
Commit: 7b1bb102d224514ed3c0fa204460c90c867bf725
Parents: 3cce106
Author: Josh Elser <el...@apache.org>
Authored: Fri Oct 10 17:25:26 2014 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Fri Oct 10 17:25:26 2014 -0400
----------------------------------------------------------------------
.../apache/accumulo/core/util/shell/commands/ConfigCommand.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/7b1bb102/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java b/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java
index 27beb30..9e9536c 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ConfigCommand.java
@@ -184,7 +184,7 @@ public class ConfigCommand extends Command {
printed = true;
}
if (!siteConfig.containsKey(key) || !siteVal.equals(sysVal)) {
- printConfLine(output, "system", printed ? " @override" : key, sysVal == null ? "" : sysVal);
+ printConfLine(output, "system", printed ? " @override" : key, sysVal);
printed = true;
}
}