@@ -31,7 +31,7 @@ public LinkSpan scan(final CharSequence input, int triggerIndex, int rewindIndex
31
31
return new LinkSpanImpl (LinkType .WWW , first , last + 1 );
32
32
}
33
33
34
- private static final int findFirst (final CharSequence input , final int beginIndex , final int rewindIndex ) {
34
+ private static int findFirst (final CharSequence input , final int beginIndex , final int rewindIndex ) {
35
35
if (beginIndex == rewindIndex ) {
36
36
return beginIndex ;
37
37
}
@@ -44,7 +44,7 @@ private static final int findFirst(final CharSequence input, final int beginInde
44
44
return -1 ;
45
45
}
46
46
47
- private static final int findLast (final CharSequence input , final int beginIndex ) {
47
+ private static int findLast (final CharSequence input , final int beginIndex ) {
48
48
final int last = Scanners .findUrlEnd (input , beginIndex );
49
49
50
50
// Make sure there is at least one dot after the first dot,
@@ -57,11 +57,11 @@ private static final int findLast(final CharSequence input, final int beginIndex
57
57
return -1 ;
58
58
}
59
59
60
- private static final boolean isAllowed (char c ) {
60
+ private static boolean isAllowed (char c ) {
61
61
return c != '.' && !Scanners .isAlnum (c );
62
62
}
63
63
64
- private static final boolean isWWW (final CharSequence input , final int triggerIndex ) {
64
+ private static boolean isWWW (final CharSequence input , final int triggerIndex ) {
65
65
return
66
66
(input .charAt (triggerIndex + 1 ) == 'w' )
67
67
&& (input .charAt (triggerIndex + 2 ) == 'w' )
0 commit comments