Merge pull request #774 from zenuo/master

Add an 'Override' annotaion
This commit is contained in:
Ilkka Seppälä 2018-08-01 16:02:23 +03:00 committed by GitHub
commit facb9e51a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,6 +115,7 @@ public class AppClient {
this.serverPort = serverPort; this.serverPort = serverPort;
} }
@Override
public void run() { public void run() {
try (Socket socket = new Socket(InetAddress.getLocalHost(), serverPort)) { try (Socket socket = new Socket(InetAddress.getLocalHost(), serverPort)) {
OutputStream outputStream = socket.getOutputStream(); OutputStream outputStream = socket.getOutputStream();