From 3341f01831f6e4fee059fa025e16777f0198bbaa Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Mon, 27 Feb 2017 08:14:07 +0100 Subject: [PATCH] Woopsie, update VERSION because of this :( --- VERSION | 2 +- changelog | 2 +- src/be/nikiroo/utils/Version.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 3a3cd8c..1892b92 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.1 +1.3.2 diff --git a/changelog b/changelog index 02cb917..b5e1d80 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,4 @@ -Version 1.3.1 +Version 1.3.2 ------------- New Version class diff --git a/src/be/nikiroo/utils/Version.java b/src/be/nikiroo/utils/Version.java index 550c5e9..a8ec3f5 100644 --- a/src/be/nikiroo/utils/Version.java +++ b/src/be/nikiroo/utils/Version.java @@ -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); } /** -- 2.27.0