Skip to content

Commit

Permalink
Fixed MockBackOff#getMaxTries, returns maxTries (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebfz1 authored and chingor13 committed Dec 28, 2018
1 parent 16ddb92 commit ce27437
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public MockBackOff setMaxTries(int maxTries) {

/** Returns the maximum number of tries before returning {@link #STOP}. */
public final int getMaxTries() {
return numTries;
return maxTries;
}

/** Returns the number of tries so far. */
Expand Down

0 comments on commit ce27437

Please sign in to comment.