Java Style Guide: Line wrap at array declarator brackets
Open
lang:java
- Dominant language
- HTML
- Stars
- 39.6k
- Forks
- 12.9k
- Avg merge
- 42m
- Merged PRs (30d)
- 15
Description
Google Style Guide does not explain how to wrap line at array declarator brackets.
Can you please answer, which of that cases is valid:
1.
```
int x = new int[
] {1, 2};
```
2.
```
int x = new int
[] {1, 2};
```
If possible, please update style guide to include that information.
Contributor guide
Assessment
This issue has not been assessed yet.