Skip to content

Commit d56a802

Browse files
Fix contributing example
1 parent a62335e commit d56a802

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ Thank you for considering to contribute to SoulFire! Please read the following p
55
## Code style
66

77
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.
99

1010
To setup the google java format, please read the official page and follow the instructions for your IDE:
1111
https://github.com/google/google-java-format
1212

1313
### Var keyword
1414

1515
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>()`
1718

1819
### IntelliJ inspections
1920

0 commit comments

Comments
 (0)