Migrate XPath rule to 2.0

This commit is contained in:
David Burström
2019-03-10 10:37:24 +01:00
parent ff11ff6d0c
commit 146119af5c

View File

@ -1653,9 +1653,10 @@ a block `{}` is sufficient.
<property name="xpath">
<value>
//DoStatement[Expression/PrimaryExpression/PrimaryPrefix/Literal/BooleanLiteral] |
//WhileStatement[Expression/PrimaryExpression/PrimaryPrefix/Literal/BooleanLiteral[@True = 'false']]
//WhileStatement[Expression/PrimaryExpression/PrimaryPrefix/Literal/BooleanLiteral[@True = false()]]
</value>
</property>
<property name="version" value="2.0" />
</properties>
<example>
public class Example {