We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec74b04 commit ba9fe85Copy full SHA for ba9fe85
src/main/java/com/github/dockerjava/api/model/BuildResponseItem.java
@@ -26,14 +26,16 @@ public String getStream() {
26
*/
27
@JsonIgnore
28
public boolean isBuildSuccessIndicated() {
29
- if(getStream() == null) return false;
+ if (getStream() == null)
30
+ return false;
31
32
return getStream().contains(BUILD_SUCCESS);
33
}
34
35
36
public String getImageId() {
- if(!isBuildSuccessIndicated()) return null;
37
+ if (!isBuildSuccessIndicated())
38
+ return null;
39
40
return getStream().replaceFirst(BUILD_SUCCESS, "").trim();
41
0 commit comments