Files
openide/java/java-tests/testData/codeInsight/generation/surroundWith/java/CommentAsFirstSynchronizedSurroundStatement_after.java
Denis Zhdanov 06b56cf449 IDEA-25753 Surround With try-catch etc. - doesn't indent comment correctly
1. Java 'surround with' processing is corrected for the first comment statement;
2. Corresponding tests are added;
3. Green cody policy is applied;
2011-05-03 17:23:14 +04:00

8 lines
135 B
Java

class Test {
void foo() {
synchronized (<caret>) {
// This is comment"
int i = 1;
}
}
}