avoid a variable factor.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5807 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-11-09 22:02:56 +00:00
1 parent 9e1a855ebc
commit 05e446c1cf
1 file changed
+1 -1
+1 -1
View File
@@ -337,7 +337,7 @@ public class Util {
public static String getDigestOf(String text) {
try {
return getDigestOf(new ByteArrayInputStream(text.getBytes()));
return getDigestOf(new ByteArrayInputStream(text.getBytes("UTF-8")));
} catch (IOException e) {
throw new Error(e);
}