SSR: cleanup MatchResultImpl & related

This commit is contained in:
Bas Leijdekkers
2015-11-06 20:55:35 +01:00
parent 7312c98275
commit c2ef9b756d
6 changed files with 25 additions and 26 deletions
@@ -531,7 +531,7 @@ public class JavaStructuralSearchProfile extends StructuralSearchProfile {
handleMethodParameter(buf, info, matchMap);
replacementString = buf.toString();
}
else if (match.getAllSons().size() > 0 && !match.isScopeMatch()) {
else if (match.hasSons() && !match.isScopeMatch()) {
// compound matches
StringBuilder buf = new StringBuilder();
MatchResult r = null;