Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Remove unnecessary string formatting (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardolstephen authored Jun 5, 2020
1 parent 393f479 commit 06ea546
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public URL getAgentUri(RestRequest request) throws IOException {

// Add Handler whenever add new redirectAgent path
if (SUPPORTED_REDIRECTIONS.contains(redirectEndpoint)) {
String uri = String.format(redirectBasePath + request.uri().split(AGENT_PATH)[1]);
String uri = redirectBasePath + request.uri().split(AGENT_PATH)[1];
return new URL(uri);
}
return null;
Expand Down

0 comments on commit 06ea546

Please sign in to comment.