Added lots of 'final' modifiers to class fields where applicable.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-08-20 21:11:55 -05:00
parent 0a7aef7347
commit 441bb95a09
22 changed files with 74 additions and 74 deletions

View File

@@ -162,10 +162,10 @@ public class DownloadsMenu extends BasicGameState {
/** Search query helper class. */
private class SearchQuery implements Runnable {
/** The search query. */
private String query;
private final String query;
/** The download server. */
private DownloadServer server;
private final DownloadServer server;
/** Whether the query was interrupted. */
private boolean interrupted = false;
@@ -246,7 +246,7 @@ public class DownloadsMenu extends BasicGameState {
private GameContainer container;
private StateBasedGame game;
private Input input;
private int state;
private final int state;
public DownloadsMenu(int state) {
this.state = state;