Skip to content

Commit ba9fe85

Browse files
author
Marcus Linke
committed
Format source
1 parent ec74b04 commit ba9fe85

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/com/github/dockerjava/api/model/BuildResponseItem.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,16 @@ public String getStream() {
2626
*/
2727
@JsonIgnore
2828
public boolean isBuildSuccessIndicated() {
29-
if(getStream() == null) return false;
29+
if (getStream() == null)
30+
return false;
3031

3132
return getStream().contains(BUILD_SUCCESS);
3233
}
3334

3435
@JsonIgnore
3536
public String getImageId() {
36-
if(!isBuildSuccessIndicated()) return null;
37+
if (!isBuildSuccessIndicated())
38+
return null;
3739

3840
return getStream().replaceFirst(BUILD_SUCCESS, "").trim();
3941
}

0 commit comments

Comments
 (0)