Skip to content
Permalink
Browse files

Convert.toString(byte[]) should not do trimming

  • Loading branch information...
Jean-Luc Picard
Jean-Luc Picard committed Jan 21, 2015
1 parent ae962e0 commit f3b2038109c9e0d4e7ce8610c24710d9e56174f7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/java/nxt/util/Convert.java
@@ -145,7 +145,7 @@ public static String nullToEmpty(String s) {

public static String toString(byte[] bytes) {
try {
return new String(bytes, "UTF-8").trim();
return new String(bytes, "UTF-8");
} catch (UnsupportedEncodingException e) {
throw new RuntimeException(e.toString(), e);
}

0 comments on commit f3b2038

Please sign in to comment.
You can’t perform that action at this time.