File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
objectbox-java/src/main/java/io/objectbox Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 59
59
@ ThreadSafe
60
60
public class BoxStore implements Closeable {
61
61
62
- private static final String VERSION = "2.0.0-2018-07-16 " ;
62
+ private static final String VERSION = "2.0.0-2018-07-19 " ;
63
63
private static BoxStore defaultStore ;
64
64
65
65
/** Currently used DB dirs with values from {@link #getCanonicalPath(File)}. */
@@ -98,8 +98,14 @@ public static synchronized boolean clearDefaultStore() {
98
98
return existedBefore ;
99
99
}
100
100
101
+ /** Gets the Version of ObjectBox Java. */
102
+ public static String getVersion () {
103
+ return VERSION ;
104
+ }
105
+
101
106
static native String nativeGetVersion ();
102
107
108
+ /** Gets the Version of ObjectBox Core. */
103
109
public static String getVersionNative () {
104
110
NativeLibraryLoader .ensureLoaded ();
105
111
return nativeGetVersion ();
@@ -145,10 +151,6 @@ public static boolean isObjectBrowserAvailable() {
145
151
return nativeIsObjectBrowserAvailable ();
146
152
}
147
153
148
- public static String getVersion () {
149
- return VERSION ;
150
- }
151
-
152
154
native long nativePanicModeRemoveAllObjects (long store , int entityId );
153
155
154
156
private final File directory ;
You can’t perform that action at this time.
0 commit comments