Skip to content

Commit 6489f0f

Browse files
authored
#317 DefaultConnectionConfig.setMaxRetries sets the maxRedirects, not retries (#381)
* fix "setMaxRetries" to set a value to "maxRetries".
1 parent 2fab667 commit 6489f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/microsoft/graph/core/DefaultConnectionConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public IShouldRetry getShouldRetry() {
164164
* @param maxRetries Max retries for a request
165165
*/
166166
public void setMaxRetries(int maxRetries) {
167-
this.maxRedirects = maxRedirects;
167+
this.maxRetries = maxRetries;
168168
}
169169

170170
/**

0 commit comments

Comments
 (0)