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/master
Commit: 7b1bb102d224514ed3c0fa204460c90c867bf725
Parents: 3cce106
Author: Josh Elser <els...@apache.org>
Authored: Fri Oct 10 17:25:26 2014 -0400
Committer: Josh Elser <els...@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;
           }
         }

Reply via email to