Skip to content

Commit c54f92f

Browse files
committed
#1005: Removed unnecessary null check.
1 parent 97bc924 commit c54f92f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

docker-java-core/src/main/java/com/github/dockerjava/core/command/SaveImagesCmdImpl.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ private TaggedImageImpl(String name, String tag) {
2626

2727
@Override
2828
public String asString() {
29-
if (Strings.isNullOrEmpty(tag)) {
30-
return name;
31-
}
3229
return name + ":" + tag;
3330
}
3431

0 commit comments

Comments
 (0)