이러한 세미콜론은 Java에서 유효하지만, 불필요하며 제거될 수 있습니다.
예:
class C {
;
void m() throws Exception {
try (AutoCloseable r1 = createAutoCloseable();) {
;
}
}
;
}
빠른 수정을 적용한 후:
class C {
void m() throws Exception {
try (AutoCloseable r1 = createAutoCloseable()) {
}
}
}