Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuke synthetic accessor methods. #52

Merged
merged 1 commit into from
Nov 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -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();
Expand Down