mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 10:15:44 +00:00
Add Annotation 'Override' to com.iluwatar.reactor.app.AppClient.TcpLoggingClient.run method.
This commit is contained in:
1 parent
d915b66e70
commit
9eb8c30bcb
1 file changed
+1
@@ -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();
|
||||||
|
|||||||
Reference in new issue
Block a user