[source,java,diff-id=1,diff-type=noncompliant]
----
if (condition1) {
  // ...
} if (condition2) {  // Noncompliant
  //...
}
----