We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65a4675 commit 106b6a1Copy full SHA for 106b6a1
2 files changed
client/Client.java
@@ -5,6 +5,9 @@
5
* @author Ikonija Bogojevic
6
* @author Sandra Weber
7
* @author Miguel Perez
8
+ *
9
+ * This is the main Client class, which spawns ClientThreads which connect to the server. This class
10
+ * includes methods for obtaining the user's commands and validating them.
11
*/
12
public class Client {
13
private static String hostName;
client/ClientThread.java
@@ -81,7 +81,7 @@ public void run() {
81
82
}
83
catch (UnknownHostException e) {
84
- System.err.println("Unknown host: " + e);
+ System.err.println("Unknown host: " + hostName);
85
System.exit(1);
86
87
catch (IOException e) {
0 commit comments