We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1cf2d commit a6b2629Copy full SHA for a6b2629
src/main/java/LSM_Reader.java
@@ -26,7 +26,13 @@
26
27
public class LSM_Reader extends ImagePlus implements PlugIn {
28
29
- public static final String VERSION = "4.0h";
+ public static final String VERSION = version();
30
+
31
+ private static String version() {
32
+ final String version =
33
+ LSM_Reader.class.getPackage().getImplementationVersion();
34
+ return version == null ? "DEV" : version;
35
+ }
36
37
public final String infoMessage = "LSM_Reader " + VERSION +
38
" Copyright (C) 2002-2009 P. Pirrotte, J. Mutterer, Y. Krempp\n\n" +
0 commit comments