diff --git a/google-http-client/src/main/java/com/google/api/client/testing/util/MockBackOff.java b/google-http-client/src/main/java/com/google/api/client/testing/util/MockBackOff.java index 6e5a85415..ba68370ad 100644 --- a/google-http-client/src/main/java/com/google/api/client/testing/util/MockBackOff.java +++ b/google-http-client/src/main/java/com/google/api/client/testing/util/MockBackOff.java @@ -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. */