-
-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
Prettier-Java 2.7.7
--print-width 140Input:
void main() {
try (x) {
} catch (IOException exception) {
}
}Output:
void main() {
try (x) {} catch (IOException exception) {}
}Expected behavior:
void main() {
try (x) {
} catch (IOException exception) {
}
}Or maybe:
void main() {
try (x) {
} catch (IOException exception) {}
}Because it becomes very strange if there is something in the catch block:
void main() {
try (x) {} catch (IOException exception) {
LOGGER.error();
}
}Metadata
Metadata
Assignees
Labels
No labels