mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-30 09:26:44 +00:00
Removed warnings which came up with Eclipse 4.2 Juno. See Bug 1131 for more information.
This commit is contained in:
+2
-1
@@ -232,7 +232,8 @@ public class StoreAndForward implements Runnable {
|
||||
public void stop() throws UnknownHostException, IOException, InterruptedException {
|
||||
logger.entering(getClass().getName(), "stop");
|
||||
stopped = true;
|
||||
new Socket("localhost", portForClients); // this is to stop the client listener thread
|
||||
Socket closer = new Socket("localhost", portForClients); // this is to stop the client listener thread
|
||||
closer.close();
|
||||
logger.info("joining clientListener thread "+clientListener);
|
||||
clientListener.join();
|
||||
socket.close(); // will let a read terminate abnormally
|
||||
|
||||
Reference in New Issue
Block a user