Files
openide/java/java-tests/testData/inspection/blockMarkerComments/TryCatch.java
2014-05-29 18:04:04 +04:00

45 lines
651 B
Java

import java.lang.Exception;
class Foo {
void m() {
try {
} catch (Exception e) {
} <warning descr="Redundant block marker">//end try-catch</warning>
try {
} catch (Exception e) {
} <warning descr="Redundant block marker">// endtrycatchblockmarker</warning>
try {
} catch (Exception e) {
} <warning descr="Redundant block marker">// endtrycatchblockmarker</warning>
try {
} catch (Exception e) {
} finally {
} <warning descr="Redundant block marker">// end finally</warning>
try {
} catch (Exception e) {
} finally {
}
// end
// not a block marker
}
}