File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tmc-plugin/src/fi/helsinki/cs/tmc/ui Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,10 +100,10 @@ private Image annotationIconForExericse(Exercise exercise) throws IOException {
100
100
}
101
101
102
102
private String annotationIconNameForExercise (Exercise exercise ) {
103
- if (exercise .hasDeadlinePassed ()) {
104
- return "expired-project-dot.png" ;
105
- } else if (exercise .isAttempted () && exercise .isCompleted () && exercise .isAllReviewPointsGiven ()) {
103
+ if (exercise .isAttempted () && exercise .isCompleted () && exercise .isAllReviewPointsGiven ()) {
106
104
return "green-project-dot.png" ;
105
+ } else if (exercise .hasDeadlinePassed ()) {
106
+ return "expired-project-dot.png" ;
107
107
} else if (exercise .isAttempted () && exercise .isCompleted ()) {
108
108
return "yellow-project-dot.png" ;
109
109
} else if (exercise .isAttempted ()) {
You can’t perform that action at this time.
0 commit comments