We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b37fdea commit 95c683eCopy full SHA for 95c683e
src/main/java/com/microsoft/graph/http/BaseRequestBuilder.java
@@ -94,9 +94,9 @@ public String getRequestUrl() {
94
* @return the full list of options for this request
95
*/
96
public List<? extends Option> getOptions(final Option... requestOptions) {
97
- return requestOptions != null && requestOptions.length > 0 ?
+ return Collections.unmodifiableList(requestOptions != null && requestOptions.length > 0 ?
98
Arrays.asList(requestOptions)
99
- : Collections.unmodifiableList(options);
+ : options);
100
}
101
102
/**
0 commit comments