BlockMarkerCommentsInspection changes after review

This commit is contained in:
Dmitry Batkovich
2014-05-29 18:04:04 +04:00
parent 98954e2ee6
commit 2d0aa2ae3a
18 changed files with 178 additions and 255 deletions
@@ -0,0 +1,25 @@
import java.lang.Object;
class A {
class Nested {
} <warning descr="Redundant block marker">//end class marker</warning>
//end not a marker
void m1() {
Object o = new Object() {
}; //end anonymous class this is very long comment and it's not marker
//end not a marker
}
void m() {
Object o;
o = new Object() {
}; <warning descr="Redundant block marker">//end marker</warning>
}
} <warning descr="Redundant block marker">//end marker</warning>
//end not a marker