Skip to content

Commit

Permalink
Fix findbugs issue
Browse files Browse the repository at this point in the history
  • Loading branch information
slide committed Apr 20, 2018
1 parent ca503ca commit 18d144d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -99,8 +99,8 @@ public String getJsEncodedFailedValidationMessage() {

private String jsEscape(String input) {
String res = input;
for(String key : replacements.keySet()) {
res = res.replace(key, replacements.get(key));
for(Map.Entry<String,String> entry : replacements.entrySet()) {
res = res.replace(entry.getKey(), entry.getValue());
}
return res;
}
Expand Down

0 comments on commit 18d144d

Please sign in to comment.