removing unused imports
This commit is contained in:
@@ -154,7 +154,12 @@ public class Model {
|
||||
xpc.sendCTRL(pitchDown);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case THROTTLEUP:
|
||||
break;
|
||||
|
||||
case THROTTLEDOWN:
|
||||
|
||||
break;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
||||
@@ -52,6 +52,7 @@ public class XPlaneConnectDiscovery implements AutoCloseable {
|
||||
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation") // Added custom
|
||||
public void start() throws IOException {
|
||||
System.out.println("Starting XPlane Connect discovery");
|
||||
socket = new MulticastSocket(mPort);
|
||||
@@ -70,7 +71,6 @@ public class XPlaneConnectDiscovery implements AutoCloseable {
|
||||
System.err.println("Received packet on discovery group but could not parse it: " + ex);
|
||||
}
|
||||
}
|
||||
|
||||
close();
|
||||
System.out.println("XPlane Connect discovery ended");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user