Multistatement fix patterns do not work correctly

Issue #2 new
Jan Lahoda
repo owner created an issue

The following multi-statement fix pattern crashes with an exception (attached).

{{{
$0.readLock();
$stmts$;
$0.readUnlock();
:: $0 instanceof javax.swing.text.AbstractDocument
=>
$0.readLock();
try {
$stmts$;
} finally {
$0.readUnlock();
}
;;

}}}

Comments (0)

  1. Log in to comment