Skip to content

Commit

Permalink
Merge pull request #52 from vanniktech/synthetic-accessor-methods
Browse files Browse the repository at this point in the history
Nuke synthetic accessor methods.
  • Loading branch information
IvBaranov authored Nov 13, 2018
2 parents ce79eae + 48259ad commit bc320d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ public final class BluetoothConnection {

private BluetoothSocket socket;

private InputStream inputStream;
InputStream inputStream;
private OutputStream outputStream;

private Flowable<Byte> observeInputStream;

private boolean connected = false;
boolean connected = false;

/**
* Container for simplifying read and write from/to {@link BluetoothSocket}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,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();
Expand Down

0 comments on commit bc320d1

Please sign in to comment.