From 48259ad5e6ec3d945397100c9a613e302052b463 Mon Sep 17 00:00:00 2001 From: Niklas Baudy Date: Sat, 10 Nov 2018 12:02:23 +0100 Subject: [PATCH] Nuke synthetic accessor methods. --- .../com/github/ivbaranov/rxbluetooth/BluetoothConnection.java | 4 ++-- .../java/com/github/ivbaranov/rxbluetooth/RxBluetooth.java | 4 ++-- 2 files changed, 4 insertions(+), 4 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 4a6eef6..7e70b13 100644 --- a/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/BluetoothConnection.java +++ b/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/BluetoothConnection.java @@ -39,12 +39,12 @@ public final class BluetoothConnection { private BluetoothSocket socket; - private InputStream inputStream; + InputStream inputStream; private OutputStream outputStream; private Flowable observeInputStream; - private boolean connected = false; + boolean connected = false; /** * Container for simplifying read and write from/to {@link BluetoothSocket}. 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 8576f6c..a1d30c6 100644 --- a/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/RxBluetooth.java +++ b/rxbluetooth/src/main/java/com/github/ivbaranov/rxbluetooth/RxBluetooth.java @@ -57,8 +57,8 @@ * Enables clients to listen to bluetooth events using RxJava Observables. */ public final class RxBluetooth { - private BluetoothAdapter bluetoothAdapter; - private Context context; + BluetoothAdapter bluetoothAdapter; + Context context; public RxBluetooth(Context context) { this.bluetoothAdapter = BluetoothAdapter.getDefaultAdapter();