Skip to content

Commit e26e5cf

Browse files
GHI-#8 Add VERSION constant and make method getVersion() static
1 parent f241e8d commit e26e5cf

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

.idea/misc.xml

+1-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/arcticicestudio/nord/Nord.java

+7-2
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ public enum Nord {
181181
*/
182182
private final Color COLOR;
183183

184+
/**
185+
* The <a href="https://github.com/arcticicestudio/arcver">ArcVer</a> version of the public API.
186+
*/
187+
private static final String VERSION = "0.1.0";
188+
184189
/**
185190
* Constructs a new color object.
186191
*
@@ -236,7 +241,7 @@ public Color get() {
236241
* @return the ArcVer version string
237242
* @see <a href="http://semver.org">SemVer</a>
238243
*/
239-
public String getVersion() {
240-
return "0.1.0";
244+
public static String getVersion() {
245+
return VERSION;
241246
}
242247
}

0 commit comments

Comments
 (0)