git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0b3ba6
)
JAL-3878 Remove unused JobStatus methods
author
Mateusz Warowny
<mmzwarowny@dundee.ac.uk>
Thu, 3 Mar 2022 13:36:39 +0000
(14:36 +0100)
committer
Mateusz Warowny
<mmzwarowny@dundee.ac.uk>
Thu, 3 Mar 2022 13:59:57 +0000
(14:59 +0100)
src/jalview/ws2/api/JobStatus.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws2/api/JobStatus.java
b/src/jalview/ws2/api/JobStatus.java
index
1dabc6b
..
0334737
100644
(file)
--- a/
src/jalview/ws2/api/JobStatus.java
+++ b/
src/jalview/ws2/api/JobStatus.java
@@
-33,12
+33,12
@@
public enum JobStatus
{
switch (this)
{
+ case INVALID:
case COMPLETED:
case FAILED:
case CANCELLED:
case SERVER_ERROR:
return true;
- case INVALID:
case READY:
case SUBMITTED:
case QUEUED:
@@
-49,14
+49,4
@@
public enum JobStatus
throw new AssertionError("non-exhaustive switch statement");
}
}
-
- public boolean isCompleted()
- {
- return this == COMPLETED;
- }
-
- public boolean isCancelled()
- {
- return this == CANCELLED;
- }
}