File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
google-http-client/src/main/java/com/google/api/client/http Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -147,11 +147,8 @@ static String executeAndGetValueOfSomeCustomHeader(HttpRequest request) {
147147 /** Whether to enable gzip compression of HTTP content ({@code false} by default). */
148148 private boolean enableGZipContent ;
149149
150- /**
151- * The {@link BackOffPolicy} to use between retry attempts or {@code null} for none
152- * ({@link ExponentialBackOffPolicy} by default).
153- */
154- private BackOffPolicy backOffPolicy = new ExponentialBackOffPolicy ();
150+ /** The {@link BackOffPolicy} to use between retry attempts or {@code null} for none. */
151+ private BackOffPolicy backOffPolicy ;
155152
156153 /** Whether to automatically follow redirects ({@code true} by default). */
157154 private boolean followRedirects = true ;
@@ -281,10 +278,6 @@ public BackOffPolicy getBackOffPolicy() {
281278 /**
282279 * Sets the {@link BackOffPolicy} to use between retry attempts or {@code null} for none.
283280 *
284- * <p>
285- * By default it is {@link ExponentialBackOffPolicy}.
286- * </p>
287- *
288281 * @since 1.7
289282 */
290283 public HttpRequest setBackOffPolicy (BackOffPolicy backOffPolicy ) {
You can’t perform that action at this time.
0 commit comments