diff options
author | lookshe <github@lookshe.org> | 2015-08-16 00:02:14 +0200 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2015-08-16 00:02:14 +0200 |
commit | fe3a3c24711538e1d866cf107481df6f69152494 (patch) | |
tree | 84bacb752b998558dc92ed4568379c6ff6aba3c2 /src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java | |
parent | cfefe9a0bd156ee1c0afac3ea5eac94ba3ad239d (diff) |
Fixes FS#37 - Remove special treatment of unicode hearts
Fixes FS#34 - review all calls for String.trim()
Diffstat (limited to 'src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java b/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java index 186b4b98..16984910 100644 --- a/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java +++ b/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java @@ -71,7 +71,7 @@ public abstract class AbstractGenerator { s.append(feature + "<"); } byte[] sha1 = md.digest(s.toString().getBytes()); - return new String(Base64.encode(sha1, Base64.DEFAULT)).trim(); + return new String(Base64.encode(sha1, Base64.DEFAULT)); } public static String getTimestamp(long time) { |