Skip to content

Commit

Permalink
Rename to stageToString
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanielamwh committed Mar 3, 2025
1 parent be8e468 commit d545821
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ private void processComponents(
for (SearchComponent c : components) {
if (checkLimitsBefore(
c,
"handleResponses next stage:" + stageInEnglish(nextStage),
"handleResponses next stage:" + stageToString(nextStage),
rb.req,
rb.rsp,
components)) {
Expand All @@ -681,7 +681,7 @@ private void processComponents(

for (SearchComponent c : components) {
if (checkLimitsBefore(
c, "finishStage stage:" + stageInEnglish(nextStage), rb.req, rb.rsp, components)) {
c, "finishStage stage:" + stageToString(nextStage), rb.req, rb.rsp, components)) {
return;
}
c.finishStage(rb);
Expand Down Expand Up @@ -726,7 +726,7 @@ private static boolean prepareComponents(
return true;
}

protected String stageInEnglish(int nextStage) {
protected String stageToString(int nextStage) {
// This should probably be a enum, but that change should be its own ticket.
switch (nextStage) {
case STAGE_START:
Expand Down

0 comments on commit d545821

Please sign in to comment.