Added more info to assert
This commit is contained in:
parent
e72e323c8a
commit
e2cb7edb08
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue