File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,16 @@ Thank you for considering to contribute to SoulFire! Please read the following p
5
5
## Code style
6
6
7
7
This project uses the google-java-format loosely. While most recommended options are enforced, some others are not.
8
- As a rule of thumb, if your IDE would spit the same code out with the "Reformat" task, it should be fine.
8
+ As a rule of thumb, if your IDE spits the same code out with the "Reformat" task, it should be fine.
9
9
10
10
To setup the google java format, please read the official page and follow the instructions for your IDE:
11
11
https://github.com/google/google-java-format
12
12
13
13
### Var keyword
14
14
15
15
SoulFire exclusively uses the var keyword instead of explicitly declaring field types.
16
- That also includes types like ` Map<String> map = new HashMap<>() ` , those should be abbreviated to ` var map = new HashMap<String>() `
16
+ That also includes types like ` Map<String, String> map = new HashMap<>() ` ,
17
+ those should be abbreviated to ` var map = new HashMap<String, String>() `
17
18
18
19
### IntelliJ inspections
19
20
You can’t perform that action at this time.
0 commit comments