Skip to content

Commit

Permalink
Remove unwanted method in XslUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
wangf1122 committed Feb 20, 2024
1 parent 90f7b0a commit b9f1d5d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/src/main/java/org/fao/geonet/util/XslUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -1300,13 +1300,6 @@ public static String md5Hex(String str) {
return org.apache.commons.codec.digest.DigestUtils.md5Hex(str);
}

public static String md5HexIgnoreWhiteSpaces(String str) {
str = org.apache.commons.lang3.StringUtils.remove(str, '\n');
str = org.apache.commons.lang3.StringUtils.remove(str, ' ');

return org.apache.commons.codec.digest.DigestUtils.md5Hex(str);
}

public static String encodeForURL(String str) {
try {
return DefaultEncoder.getInstance().encodeForURL(str);
Expand Down

0 comments on commit b9f1d5d

Please sign in to comment.