SSR: second attempt to fix NPE (EA-63773)

This commit is contained in:
Bas Leijdekkers
2014-12-30 20:22:26 +01:00
parent 731db60259
commit fc1bdfdb8d
@@ -145,10 +145,7 @@ public class MatcherImpl {
visitor.matchContext(matchedNodes);
} finally {
matchedNodes.reset();
final MatchOptions options = matchContext.getOptions();
if (options != null) {
options.setScope(null);
}
context.getOptions().setScope(null);
}
}