Fixed redundant method call.
This commit is contained in:
parent
a435f0be49
commit
e0d1919808
1 changed files with 3 additions and 2 deletions
|
@ -978,8 +978,9 @@ public class Mobibot extends PircBot {
|
|||
|
||||
if (!tagsKeywords.isEmpty()) {
|
||||
for (final String match : tagsKeywords) {
|
||||
if (title.matches("(?i).*\\b" + match.trim() + "\\b.*")) {
|
||||
tags.append(' ').append(match.trim());
|
||||
final String m = match.trim();
|
||||
if (title.matches("(?i).*\\b" + m + "\\b.*")) {
|
||||
tags.append(' ').append(m);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue