Automated rollback of commit
*** Reason for rollback ***
I've decided to build on top of this instead of removing it.
*** Original change description ***
Remove Task.status since it's unused.
@@ -25,6 +25,7 @@ public final class Task {
private final String name;
private final Type type;
@Nullable private Task parent;
+ private String status = "";
@Nullable private Instant startTime;
@Nullable private Instant endTime;
private boolean hasErrors;
@@ -81,6 +82,14 @@ public final class Task {
return endTime != null;
}
+ String getStatus() {
+ return status;
+ }
+
+ void setStatus(String status) {
+ this.status = status;
+ }
+
Optional<Task> getParent() {
return Optional.ofNullable(parent);
}
