RED-6929: Fix Acceptance Tests/Rules
This commit is contained in:
parent
cc41838b11
commit
d5bb7d8a0a
@ -118,6 +118,9 @@ public class Image implements GenericSemanticNode {
|
|||||||
|
|
||||||
public MatchedRule getMatchedRule() {
|
public MatchedRule getMatchedRule() {
|
||||||
|
|
||||||
|
if (matchedRuleList.isEmpty()) {
|
||||||
|
return MatchedRule.empty();
|
||||||
|
}
|
||||||
return matchedRuleList.peek();
|
return matchedRuleList.peek();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user