Skip to content

Commit 0b2dfe3

Browse files
committed
typo in synchronized() fix
1 parent 17f3678 commit 0b2dfe3

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed
1 Byte
Binary file not shown.
1 Byte
Binary file not shown.

sources/net.sf.j2s.core/src/net/sf/j2s/core/astvisitors/Java2ScriptVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ public boolean visit(SynchronizedStatement node) {
914914
// checking that it is not null
915915
buffer.append("if(!(");
916916
node.getExpression().accept(this);
917-
buffer.append("){throw new NullPointerException()}else");
917+
buffer.append(")){throw new NullPointerException()}else");
918918
node.getBody().accept(this);
919919
return false;
920920
}

0 commit comments

Comments
 (0)