Trilarion / freerails

Real-time, multiplayer railway strategy/management game based on the RailRoad Tycoon I and II games.
https://trilarion.blogspot.com/search/label/freerails
GNU General Public License v3.0
51 stars 8 forks source link

Use @NotNull annotation #54

Open Trilarion opened 6 years ago

Trilarion commented 6 years ago

As one of the last steps before v0.5.

This means going through the code and just marking every parameter with @NotNull (jetbrain.annotation) that from the code shouldn't be null, then check IntelliJ's code analysis for potential problems.