Skip to content

Commit

Permalink
nextStage --> stage
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoerschke authored Mar 3, 2025
1 parent d545821 commit 34872b3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,9 @@ private static boolean prepareComponents(
return true;
}

protected String stageToString(int nextStage) {
protected String stageToString(int stage) {
// This should probably be a enum, but that change should be its own ticket.
switch (nextStage) {
switch (stage) {
case STAGE_START:
return "START";
case STAGE_PARSE_QUERY:
Expand All @@ -743,7 +743,7 @@ protected String stageToString(int nextStage) {
case STAGE_DONE:
return "FINISHING";
default:
return "CUSTOM_STAGE_" + String.valueOf(nextStage);
return "CUSTOM_STAGE_" + String.valueOf(stage);
}
}

Expand Down

0 comments on commit 34872b3

Please sign in to comment.