Added more info to assert

This commit is contained in:
Martijn van Groningen 2013-02-07 13:52:25 +01:00
parent e72e323c8a
commit e2cb7edb08
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class ContextIndexSearcher extends IndexSearcher {
}
public void finishStage(Stage stage) {
assert currentState == stage;
assert currentState == stage : "Expected stage " + stage + " but was stage " + currentState;
this.currentState = Stage.NA;
}