Skip to content

Commit 08a4b24

Browse files
Sync: consistently do not support inheritance
1 parent cbcc437 commit 08a4b24

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

objectbox-java/src/main/java/io/objectbox/sync/SyncBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* {@link Sync#client(BoxStore, String, SyncCredentials)}.
3636
*/
3737
@SuppressWarnings({"unused", "WeakerAccess"})
38-
public class SyncBuilder {
38+
public final class SyncBuilder {
3939

4040
final Platform platform;
4141
final BoxStore boxStore;

objectbox-java/src/main/java/io/objectbox/sync/SyncClientImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* this class may change without notice.
3939
*/
4040
@Internal
41-
public class SyncClientImpl implements SyncClient {
41+
public final class SyncClientImpl implements SyncClient {
4242

4343
@Nullable
4444
private BoxStore boxStore;

objectbox-java/src/main/java/io/objectbox/sync/server/ClusterPeerInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Internal class to keep configuration for a cluster peer.
2424
*/
2525
@Internal
26-
class ClusterPeerInfo {
26+
final class ClusterPeerInfo {
2727
String url;
2828
SyncCredentialsToken credentials;
2929

objectbox-java/src/main/java/io/objectbox/sync/server/SyncServerBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* Creates a {@link SyncServer} and allows to set additional configuration.
3838
*/
3939
@SuppressWarnings({"unused", "UnusedReturnValue"})
40-
public class SyncServerBuilder {
40+
public final class SyncServerBuilder {
4141

4242
final BoxStore boxStore;
4343
final URI url;

objectbox-java/src/main/java/io/objectbox/sync/server/SyncServerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* this class may change without notice.
3030
*/
3131
@Internal
32-
public class SyncServerImpl implements SyncServer {
32+
public final class SyncServerImpl implements SyncServer {
3333

3434
private final URI url;
3535
private volatile long handle;

0 commit comments

Comments
 (0)