Skip to content

NationStates-API-Java-Wrapper-5.0.0

Compare
Choose a tag to compare
@Agadar Agadar released this 22 Dec 14:14
· 23 commits to master since this release

Requirements and dependencies

  • Consumes version 9 of the NationStates API;
  • Requires Java 11 to be installed.

Changelog

  • Updated Java version from Java 8 to Java 11;
  • Updated dependencies and added Lombok;
  • Introduced Optionals as return values where previously nulls could be returned;
  • Introduced a lot of default values in the domain classes to avoid nullpointers;
  • Made public fields in the domain classes private, and added getters and setters for them;
  • Sprinkled Lombok's NonNull annotation throughout the code to guard against nulls;
  • Removed the 'I'-prefixes from interfaces;
  • Abstracted collection types to make the library more resilient against implementation changes;
  • Various minor code changes, formatting, and documentation changes.