From 185a1a071a431429092c3739f7efcf732ae9b8d9 Mon Sep 17 00:00:00 2001 From: Niklas Baudy Date: Fri, 26 Oct 2018 21:31:34 +0200 Subject: [PATCH] Make RxBluetooth & BluetoothConnection final. --- .../com/github/ivbaranov/rxbluetooth/BluetoothConnection.java | 2 +- .../main/java/com/github/ivbaranov/rxbluetooth/RxBluetooth.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/BluetoothConnection.java b/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/BluetoothConnection.java index 14db1d2..18ef82c 100644 --- a/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/BluetoothConnection.java +++ b/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/BluetoothConnection.java @@ -33,7 +33,7 @@ import org.reactivestreams.Subscriber; import org.reactivestreams.Subscription; -public class BluetoothConnection { +public final class BluetoothConnection { private static final String TAG = BluetoothConnection.class.getName(); diff --git a/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/RxBluetooth.java b/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/RxBluetooth.java index c114dfc..ec5ef4a 100644 --- a/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/RxBluetooth.java +++ b/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/RxBluetooth.java @@ -55,7 +55,7 @@ /** * Enables clients to listen to bluetooth events using RxJava Observables. */ -public class RxBluetooth { +public final class RxBluetooth { private BluetoothAdapter bluetoothAdapter; private Context context;