Skip to content

math 2.0.0

Compare
Choose a tag to compare
@zml2008 zml2008 released this 03 May 21:58
· 62 commits to master since this release

This is the first major release of the 2.x.x series! While the overall structure of the library remains unchanged from 1.0.x, there are some naming changes that will cause breakages:

  • Move to the org.spongepowered namespace
  • Drop get- prefix from API methods
  • Remove unnecessary empty constructors, in favor of the ZERO and IDENTITY constants
  • Remove GenericMath.getRandom() in favor of ThreadLocalRandom
  • Add a full JPMS module descriptor, naming this module org.spongepowered.math
  • Enable error-prone analysis and use errorprone annotations to declare immutable objects as deeply immutable