Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy up code and javadoc #104

Merged
merged 5 commits into from
Sep 3, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/build
/javadoc
/temp
/config
/enquiries
/server.log
Expand Down
8 changes: 5 additions & 3 deletions wl/server/ClientThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@
/**
* A thread that handles all the server's interaction with one specific client.
*/
class ClientThread implements Runnable {
public class ClientThread implements Runnable {
private Socket socket;

/** The oldest protocol version the server supports. Never, ever change this. */
/** The oldest protocol version the server supports. */
// Never, ever change this!
public static final int kOldestSupportedProtocolVersion = 4;

/** The newest protocol version the server supports. May be increased but never decreased. */
/** The newest protocol version the server supports. */
// May be increased but never decreased.
public static final int kNewestSupportedProtocolVersion = 5;

/**
Expand Down
Loading