Indentation anomaly with synchronized block

Hello!

I am currently using RC5 (build #3431) on MacOS X 10.4.2 with JDK 1.4.
The following code fragment is not indented as I would expect from my settings:


The brace under synchronized should by below the s, not the i. If I put the brace on the preceeding line, indentation of the if() statement is correct (i.e. 4 spaces). In Code Style I've set Braces Placement to 'Next Line' and checked Special "else if" treatment as well as Indent "case". I did not find any option spcifically for adjusting indentation in case of synchronized. Bug or feature?

regards,
Wolfram.

Please sign in to leave a comment.