Skip to content

Commit

Permalink
charset to string
Browse files Browse the repository at this point in the history
  • Loading branch information
chDame committed Aug 1, 2022
1 parent 39a94a6 commit 6d17abf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public LocalIdentityAuthentication keycloakRealm(String keycloakRealm) {
}

private String encode(String value) throws UnsupportedEncodingException {
return URLEncoder.encode(value, StandardCharsets.UTF_8);
return URLEncoder.encode(value, StandardCharsets.UTF_8.toString());
}

private String getConnectionString() throws UnsupportedEncodingException{
Expand Down

0 comments on commit 6d17abf

Please sign in to comment.