SynchronizedStmt.prettyPrint() incorrect

Issue #126 resolved
Johannes Mey created an issue

Commit a780b13 removes the parentheses around the expression in synchronized statements. Probably, because there are two occurrences of "SynchronizedStmt" in - the first one with parentheses and the second one without.

Comments (3)

  1. Jesper Öqvist

    Thank you for this bug report! Indeed, the error was caused by the duplicate SynchronizedStmt in Java4PrettyPrint.

  2. Jesper Öqvist

    Fix pretty printing of synchronized statements

    Fixed missing parenthesis around the expression in pretty printed synchronized statements.

    fixes #126 (bitbucket)

    → <<cset ad78bf5bd1ec>>

  3. Log in to comment