Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Fix ItemConsoleCommand duplicate null check (#5645)
Browse files Browse the repository at this point in the history
Relates to #5643

Signed-off-by: Stefan Triller <stefan.triller@telekom.de>
  • Loading branch information
triller-telekom authored and maggu2810 committed May 29, 2018
1 parent 7bae772 commit 7f8aa04
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -151,7 +151,7 @@ private void listItems(Console console, String pattern) {
console.println(item.toString());
}
} else {
if (pattern == null || (pattern != null && pattern.isEmpty())) {
if (pattern == null || pattern.isEmpty()) {
console.println("No item found.");
} else {
console.println("No item found for this pattern.");
Expand Down

0 comments on commit 7f8aa04

Please sign in to comment.