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:51 UTC

[09/21] git commit: ACCUMULO-3225 Remove dead ternary statement

ACCUMULO-3225 Remove 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/45e2e590
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/45e2e590
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/45e2e590

Branch: refs/heads/1.6
Commit: 45e2e590ec72db183ee7f87a45d31c5dc815797c
Parents: 2dab129
Author: Josh Elser <el...@apache.org>
Authored: Fri Oct 10 17:33:44 2014 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Fri Oct 10 17:33:44 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/45e2e590/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 9567a47..bf063e2 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
@@ -227,7 +227,7 @@ public class ConfigCommand extends Command {
         }
         if (nspVal != null) {
           if (!systemConfig.containsKey(key) || !sysVal.equals(nspVal)) {
-            printConfLine(output, "namespace", printed ? "   @override" : key, nspVal == null ? "" : nspVal);
+            printConfLine(output, "namespace", printed ? "   @override" : key, nspVal);
             printed = true;
           }
         }