File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
objectbox-java/src/main/java/io/objectbox/sync Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ public boolean isLoggedIn() {
9898 /**
9999 * Gets the current state of this sync client. Throws if {@link #close()} was called.
100100 */
101- public SyncClientState getSyncState () {
102- return SyncClientState .fromId (nativeGetState (handle ));
101+ public SyncState getSyncState () {
102+ return SyncState .fromId (nativeGetState (handle ));
103103 }
104104
105105 @ Override
@@ -268,7 +268,7 @@ public void notifyConnectionAvailable() {
268268 private native void nativeSetUncommittedAcks (long handle , boolean uncommittedAcks );
269269
270270 /**
271- * Returns the current {@link SyncClientState } value.
271+ * Returns the current {@link SyncState } value.
272272 */
273273 private native int nativeGetState (long handle );
274274
Original file line number Diff line number Diff line change 33/**
44 * Returned by {@link io.objectbox.sync.SyncClientImpl#getSyncState()}.
55 */
6- public enum SyncClientState {
6+ public enum SyncState {
77
88 UNKNOWN (0 ),
99 CREATED (1 ),
@@ -16,12 +16,12 @@ public enum SyncClientState {
1616
1717 public final int id ;
1818
19- SyncClientState (int id ) {
19+ SyncState (int id ) {
2020 this .id = id ;
2121 }
2222
23- public static SyncClientState fromId (int id ) {
24- for (SyncClientState value : values ()) {
23+ public static SyncState fromId (int id ) {
24+ for (SyncState value : values ()) {
2525 if (value .id == id ) return value ;
2626 }
2727 return UNKNOWN ;
You can’t perform that action at this time.
0 commit comments