accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [09/21] git commit: ACCUMULO-3225 Remove dead ternary statement
Date Fri, 10 Oct 2014 22:41:51 GMT
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 <elserj@apache.org>
Authored: Fri Oct 10 17:33:44 2014 -0400
Committer: Josh Elser <elserj@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;
           }
         }


Mime
View raw message