Allow non lowercase hashtags.

There is no reason hashtags need to be lowercase. Using
lowercase acronyms or issue tags looks really strange.

Note: The search is still case insensitive, as it should be.

Change-Id: I8a1f733deef92a6d0ddc6b6292d3d0a657246aba
This commit is contained in:
Gustaf Lundh
2014-12-12 15:56:01 +01:00
committed by David Pursehouse
parent d3591cde50
commit 214f0dd7f3

View File

@@ -65,7 +65,7 @@ public class HashtagsUtil {
public static String cleanupHashtag(String hashtag) {
hashtag = LEADER.trimLeadingFrom(hashtag);
hashtag = WHITESPACE.trimTrailingFrom(hashtag);
return hashtag.toLowerCase();
return hashtag;
}
private Set<String> extractTags(Set<String> input)