ome / bioformats

Bio-Formats is a Java library for reading and writing data in life sciences image file formats. It is developed by the Open Microscopy Environment. Bio-Formats is released under the GNU General Public License (GPL); commercial licenses are available from Glencoe Software.
https://www.openmicroscopy.org/bio-formats
GNU General Public License v2.0
370 stars 241 forks source link

Fix some Java 9+ warnings in formats-bsd #4177

Closed melissalinkert closed 2 months ago

melissalinkert commented 2 months ago

I was working on something else and didn't want to scroll through as many warnings to find compile errors. See for example https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Double.html#%3Cinit%3E(double).

Only touches the formats-bsd component (others could use the same treatment though), and tried not to modify things that are actively being worked on in other PRs.

Very low priority for review and can be excluded if needed.