Skip to content

Release 1.1.0

Compare
Choose a tag to compare
@daveneiman daveneiman released this 01 May 19:14

Due to changes in the public API in Fits.java and FitsOutput.java, and how new tools must be implemented to be included in FITS, the minor version number has been incremented.

  • Some static members of Fits.java have been changed to be instance variables with getters.
  • In FitsOutput.java the public static VERSION member is now accessed via a getter. The deprecated static VERSION will be removed in a future release. VERSION and the new method, getFitsVersion() currently give the version of the FITS version currently being run. In the next release the method getFitsVersion() will reflect the version of FITS that generated the FitsOutput instance, which could be a version different than the version of FITS being used.
  • All new classes that implement the interface Tool.java can now also have a 1-argument constructor that takes Fits as an argument in order to access Fits members that were previously static. See the method createToolClassInstance() in ToolBelt.java to see how this is implemented with Reflection. For backward comptibility, the standard no-arg constructor still works.
  • Refactor JUnit tests to bring common functionality into new base class for XMLUnit tests.