Skip to content

Commit

Permalink
Throw IllegalStateException for unknown state
Browse files Browse the repository at this point in the history
  • Loading branch information
sopel39 committed Mar 24, 2021
1 parent 79482a9 commit 0360628
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -116,6 +116,6 @@ public boolean canScheduleMoreTasks()
// completing successfully when it should fail..
return true;
}
return true;
throw new IllegalStateException("Unhandled state: " + this);
}
}

0 comments on commit 0360628

Please sign in to comment.