Skip to content

Commit

Permalink
Merge pull request #16 from brenoepics/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
brenoepics authored Jan 11, 2024
2 parents f066a52 + 165acb3 commit ece6907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public Multimap<String, String> getQueryParameters() {
* @return An array with all used url parameters.
*/
public String[] getUrlParameters() {
return urlParameters;
return urlParameters.clone();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.google.common.collect.Multimaps;
import java.net.URL;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import tech.brenoepic.at4j.AzureApi;
Expand Down Expand Up @@ -35,7 +36,7 @@ public RestRequestInformationImpl(
this.api = api;
this.url = url;
this.queryParameters = queryParameter;
this.headers = headers;
this.headers = new HashMap<>(headers);
this.body = body;
}

Expand Down

0 comments on commit ece6907

Please sign in to comment.