We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e47e4e7 commit bd69393Copy full SHA for bd69393
1 file changed
Lesson01/src/lesson01/exam02/server/CalculatorServer.java
@@ -12,7 +12,8 @@ public CalculatorServer(int port) {
12
this.port = port;
13
}
14
15
- public void service() throws Exception {
+ @SuppressWarnings("resource")
16
+ public void service() throws Exception {
17
ServerSocket serverSocket = new ServerSocket(port);
18
System.out.println("CalculatorServer startup:");
19
0 commit comments