Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfacb9e5

Browse files
authored
Merge pull requestiluwatar#774 from zenuo/master
Add an 'Override' annotaion
2 parentsd915b66 +9eb8c30 commitfacb9e5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎reactor/src/main/java/com/iluwatar/reactor/app/AppClient.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class AppClient {
5151

5252
/**
5353
* App client entry.
54-
*
54+
*
5555
* @throws IOException if any I/O error occurs.
5656
*/
5757
publicstaticvoidmain(String[]args)throwsIOException {
@@ -61,7 +61,7 @@ public static void main(String[] args) throws IOException {
6161

6262
/**
6363
* Starts the logging clients.
64-
*
64+
*
6565
* @throws IOException if any I/O error occurs.
6666
*/
6767
publicvoidstart()throwsIOException {
@@ -106,7 +106,7 @@ static class TcpLoggingClient implements Runnable {
106106

107107
/**
108108
* Creates a new TCP logging client.
109-
*
109+
*
110110
* @param clientName the name of the client to be sent in logging requests.
111111
* @param serverPort the port on which client will send logging requests.
112112
*/
@@ -115,6 +115,7 @@ public TcpLoggingClient(String clientName, int serverPort) {
115115
this.serverPort =serverPort;
116116
}
117117

118+
@Override
118119
publicvoidrun() {
119120
try (Socketsocket =newSocket(InetAddress.getLocalHost(),serverPort)) {
120121
OutputStreamoutputStream =socket.getOutputStream();
@@ -154,7 +155,7 @@ static class UdpLoggingClient implements Runnable {
154155

155156
/**
156157
* Creates a new UDP logging client.
157-
*
158+
*
158159
* @param clientName the name of the client to be sent in logging requests.
159160
* @param port the port on which client will send logging requests.
160161
* @throws UnknownHostException if localhost is unknown

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp