patch from SourceForge issue 520 was applied

This commit is contained in:
Roman Ivanov 2013-12-07 23:09:20 -08:00
parent c7804c0910
commit 140bac81ae
1 changed files with 5 additions and 5 deletions

View File

@ -203,13 +203,13 @@ public class SuppressionCommentFilter
final Matcher tagMatcher =
mTagCheckRegexp.matcher(aEvent.getSourceName());
if (tagMatcher.find()) {
if (mTagMessageRegexp != null) {
final Matcher messageMatcher =
mTagMessageRegexp.matcher(aEvent.getMessage());
return messageMatcher.find();
}
return true;
}
if (mTagMessageRegexp != null) {
final Matcher messageMatcher =
mTagMessageRegexp.matcher(aEvent.getMessage());
return messageMatcher.find();
}
return false;
}