beautification

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@409 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 2d5f3a9848
commit ebb0f39f23
  1. 6
      jode/jode/flow/EmptyBlock.java

@ -59,6 +59,10 @@ public class EmptyBlock extends StructuredBlock {
public void dumpInstruction(TabbedPrintWriter writer) public void dumpInstruction(TabbedPrintWriter writer)
throws java.io.IOException throws java.io.IOException
{ {
writer.println("/* empty */"); /* Only print the comment if jump null, since otherwise the block
* isn't completely empty ;-)
*/
if (jump == null)
writer.println("/* empty */");
} }
} }

Loading…
Cancel
Save