Commit b0660682 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove unnecessary null assignment

parent 30e93751
......@@ -56,7 +56,7 @@ public class BluetoothLinkProvider extends BaseLinkProvider {
private final Map<String, BluetoothLink> visibleComputers = new HashMap<>();
private final Map<BluetoothDevice, BluetoothSocket> sockets = new HashMap<>();
private BluetoothAdapter bluetoothAdapter = null;
private BluetoothAdapter bluetoothAdapter;
private ServerRunnable serverRunnable;
private ClientRunnable clientRunnable;
......@@ -180,7 +180,7 @@ public class LanLink extends BaseLink {
if (server != null) {
Socket payloadSocket = null;
OutputStream outputStream = null;
InputStream inputStream = null;
InputStream inputStream;
try {
//Wait a maximum of 10 seconds for the other end to establish a connection with our socket, close it afterwards
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment