<?xml version="1.0" encoding="UTF-8"?>
<test-data>
    <test-code>
        <description><![CDATA[
one empty
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar(int x) {
  if (x>2) {
  }
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
one not empty
     ]]></description>
        <expected-problems>0</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar(int x) {
  if (x>2) {
   x = 1;
  }
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description><![CDATA[
empty statement
     ]]></description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar(int x) {
  if (x>2);
 }
}
     ]]></code>
    </test-code>
    <test-code>
        <description>empty if statement with comment</description>
        <expected-problems>1</expected-problems>
        <code><![CDATA[
public class Foo {
 void bar(int x) {
  if (x == 0) {
   // empty!
  }
 }
}
]]></code>
    </test-code>
</test-data>
