Skip to content

Commit a7c59c3

Browse files
committed
increase version date, comment get version methods
1 parent c8101c5 commit a7c59c3

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

objectbox-java/src/main/java/io/objectbox/BoxStore.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
@ThreadSafe
6060
public class BoxStore implements Closeable {
6161

62-
private static final String VERSION = "2.0.0-2018-07-16";
62+
private static final String VERSION = "2.0.0-2018-07-19";
6363
private static BoxStore defaultStore;
6464

6565
/** Currently used DB dirs with values from {@link #getCanonicalPath(File)}. */
@@ -98,8 +98,14 @@ public static synchronized boolean clearDefaultStore() {
9898
return existedBefore;
9999
}
100100

101+
/** Gets the Version of ObjectBox Java. */
102+
public static String getVersion() {
103+
return VERSION;
104+
}
105+
101106
static native String nativeGetVersion();
102107

108+
/** Gets the Version of ObjectBox Core. */
103109
public static String getVersionNative() {
104110
NativeLibraryLoader.ensureLoaded();
105111
return nativeGetVersion();
@@ -145,10 +151,6 @@ public static boolean isObjectBrowserAvailable() {
145151
return nativeIsObjectBrowserAvailable();
146152
}
147153

148-
public static String getVersion() {
149-
return VERSION;
150-
}
151-
152154
native long nativePanicModeRemoveAllObjects(long store, int entityId);
153155

154156
private final File directory;

0 commit comments

Comments
 (0)