projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Store the current year at time of release in the source code
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
main
/
SonePlugin.java
diff --git
a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java
b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java
index
2970269
..
ff72f86
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/main/SonePlugin.java
+++ b/
src/main/java/net/pterodactylus/sone/main/SonePlugin.java
@@
-116,7
+116,10
@@
public class SonePlugin implements FredPlugin, FredPluginFCP, FredPluginL10n, Fr
}
/** The version. */
}
/** The version. */
- public static final Version VERSION = new Version(0, 8, 9);
+ public static final Version VERSION = new Version("rc1", 0, 9);
+
+ /** The current year at time of release. */
+ private static final int YEAR = 2015;
/** The logger. */
private static final Logger logger = getLogger("Sone.Plugin");
/** The logger. */
private static final Logger logger = getLogger("Sone.Plugin");
@@
-170,6
+173,10
@@
public class SonePlugin implements FredPlugin, FredPluginFCP, FredPluginL10n, Fr
return l10n;
}
return l10n;
}
+ public static int getYear() {
+ return YEAR;
+ }
+
//
// FREDPLUGIN METHODS
//
//
// FREDPLUGIN METHODS
//