git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Woopsie, update VERSION because of this :(
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
utils
/
Version.java
diff --git
a/src/be/nikiroo/utils/Version.java
b/src/be/nikiroo/utils/Version.java
index 550c5e9dfc156f2e11b30b9d461955ee3d6e6ee3..a8ec3f5b4d1fd899f8056b2b4033f1a4c234ded8 100644
(file)
--- 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)
*/
* @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");
String version = null;
InputStream in = IOUtils.openResource("VERSION");
@@
-127,7
+127,7
@@
public class Version {
}
}
}
}
- return
version
;
+ return
new Version(version)
;
}
/**
}
/**