diff --git a/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/SimplifyBooleanReturns.xml b/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/SimplifyBooleanReturns.xml index 2fb36cf27f..ee61d11527 100644 --- a/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/SimplifyBooleanReturns.xml +++ b/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/SimplifyBooleanReturns.xml @@ -65,5 +65,32 @@ public class Foo { } } ]]> + + + + + + 1 + + diff --git a/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/SimplifyConditional.xml b/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/SimplifyConditional.xml index e4d6c7000c..7c38935176 100644 --- a/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/SimplifyConditional.xml +++ b/pmd/regress/test/net/sourceforge/pmd/rules/design/xml/SimplifyConditional.xml @@ -78,32 +78,8 @@ public class Foo { } ]]> - - - 0 - - - - + +