Woopsie, update VERSION because of this :(
[nikiroo-utils.git] / src / be / nikiroo / utils / Version.java
index 550c5e9dfc156f2e11b30b9d461955ee3d6e6ee3..a8ec3f5b4d1fd899f8056b2b4033f1a4c234ded8 100644 (file)
@@ -112,7 +112,7 @@ public class Version {
         * @return the {@link Version} of the program, or an empty {@link Version}
         *         (does not return NULL)
         */
-       public static String getCurrentVersion() {
+       public static Version getCurrentVersion() {
                String version = null;
 
                InputStream in = IOUtils.openResource("VERSION");
@@ -127,7 +127,7 @@ public class Version {
                        }
                }
 
-               return version;
+               return new Version(version);
        }
 
        /**