@@ -21,8 +21,8 @@ protected Set<Mention> findByUserDescription(String description,Task task) {
2121 if (description != null ) {
2222
2323 String USER_PROFILE_INPUT [] = {
24- "@(" + User .SCREEN_NAME_PATTERN +")(" + Entities .stopChar + ")" ,
25- "@(" +User .SCREEN_NAME_PATTERN +")$"
24+ "@(" + User .SCREEN_NAME_PATTERN +")(" + Entities .stopChar + ")" ,
25+ "@(" + User .SCREEN_NAME_PATTERN +")$"
2626 };
2727
2828 int USER_PROFILE_OUTPUT [] = {
@@ -54,8 +54,8 @@ protected String getFormattedTextForMentions(Set<Mention> mentions, String forma
5454 };
5555
5656 String USER_PROFILE_OUTPUT [] = {
57- "<a class=\" tweet-action tweet-profile1\" href=\" https://twitter.com/$1\" target=\" _blank\" >@$1</a>$2" ,
58- "<a class=\" tweet-action tweet-profile2\" href=\" https://twitter.com/$1\" target=\" _blank\" >@$1</a> "
57+ " <a class=\" tweet-action tweet-profile1\" href=\" https://twitter.com/$1\" target=\" _blank\" >@$1</a>$2" ,
58+ " <a class=\" tweet-action tweet-profile2\" href=\" https://twitter.com/$1\" target=\" _blank\" >@$1</a> "
5959 };
6060
6161 for (int i =0 ;i <2 ;i ++){
@@ -78,10 +78,10 @@ protected String getFormattedTextForUserProfiles(String formattedText) {
7878 };
7979
8080 String USER_PROFILE_OUTPUT [] = {
81- "<a class=\" tweet-action tweet-profile1\" href=\" /user/$2\" >@$2</a>$3" ,
82- "<a class=\" tweet-action tweet-profile2\" href=\" /user/$2\" >@$2</a>" ,
83- "<a class=\" tweet-action tweet-profile3\" href=\" /user/$1\" >@$1</a>$2" ,
84- "<a class=\" tweet-action tweet-profile4\" href=\" /user/$1\" >@$1</a>"
81+ " <a class=\" tweet-action tweet-profile1\" href=\" /user/$2\" >@$2</a>$3" ,
82+ " <a class=\" tweet-action tweet-profile2\" href=\" /user/$2\" >@$2</a>" ,
83+ " <a class=\" tweet-action tweet-profile3\" href=\" /user/$1\" >@$1</a>$2" ,
84+ " <a class=\" tweet-action tweet-profile4\" href=\" /user/$1\" >@$1</a>"
8585 };
8686
8787 for (int i =0 ;i <4 ;i ++){
@@ -126,8 +126,8 @@ protected String getFormattedTextForHashTags(Set<HashTag> tags, String formatted
126126 };
127127
128128 String USER_PROFILE_OUTPUT [] = {
129- "<a class=\" tweet-action tweet-hashtag1\" href=\" /hashtag/$1\" >#$1</a>$2" ,
130- "<a class=\" tweet-action tweet-hashtag2\" href=\" /hashtag/$1\" >#$1</a> "
129+ " <a class=\" tweet-action tweet-hashtag1\" href=\" /hashtag/$1\" >#$1</a>$2" ,
130+ " <a class=\" tweet-action tweet-hashtag2\" href=\" /hashtag/$1\" >#$1</a> "
131131 };
132132
133133 for (int i =0 ;i <2 ;i ++){
@@ -332,12 +332,12 @@ protected String getFormattedTextForUrls(Set<Url> urls, String formattedText) {
332332 };
333333
334334 String USER_PROFILE_OUTPUT [] = {
335- "<a href=\" " + url .getExpanded () + "\" class=\" tw-display1\" target=\" _blank\" >" + url .getDisplay () + "</a>$2" ,
336- "<a href=\" " + url .getExpanded () + "\" class=\" tw-display2\" target=\" _blank\" >" + url .getDisplay () + "</a> " ,
337- "<a href=\" " + url .getExpanded () + "\" class=\" tw-expanded1\" target=\" _blank\" >" + url .getDisplay () + "</a>$2" ,
338- "<a href=\" " + url .getExpanded () + "\" class=\" tw-expanded2\" target=\" _blank\" >" + url .getDisplay () + "</a> " ,
339- "<a href=\" " + url .getExpanded () + "\" class=\" tw-url1\" target=\" _blank\" >" + url .getDisplay () + "</a>$2" ,
340- "<a href=\" " + url .getExpanded () + "\" class=\" tw-url2\" target=\" _blank\" >" + url .getDisplay () + "</a> "
335+ " <a href=\" " + url .getExpanded () + "\" class=\" tw-display1\" target=\" _blank\" >" + url .getDisplay () + "</a>$2" ,
336+ " <a href=\" " + url .getExpanded () + "\" class=\" tw-display2\" target=\" _blank\" >" + url .getDisplay () + "</a> " ,
337+ " <a href=\" " + url .getExpanded () + "\" class=\" tw-expanded1\" target=\" _blank\" >" + url .getDisplay () + "</a>$2" ,
338+ " <a href=\" " + url .getExpanded () + "\" class=\" tw-expanded2\" target=\" _blank\" >" + url .getDisplay () + "</a> " ,
339+ " <a href=\" " + url .getExpanded () + "\" class=\" tw-url1\" target=\" _blank\" >" + url .getDisplay () + "</a>$2" ,
340+ " <a href=\" " + url .getExpanded () + "\" class=\" tw-url2\" target=\" _blank\" >" + url .getDisplay () + "</a> "
341341 };
342342
343343 for (int i =0 ;i <6 ;i ++){
0 commit comments