Commit cd23bcbd by Juho Juopperi

logic bug

1 parent 06d2196e
...@@ -103,7 +103,7 @@ public class BortalCommand implements Command, Runnable { ...@@ -103,7 +103,7 @@ public class BortalCommand implements Command, Runnable {
} }
private void parseCommand(String string) { private void parseCommand(String string) {
if (string != null || !string.isEmpty()) if (string != null && !string.isEmpty())
{ {
logger.info("received command {}", string); logger.info("received command {}", string);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!