Skip to content

Commit

Permalink
fix typo (see #74)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Nov 6, 2020
1 parent c92f0ba commit 8436611
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions client/src/main/java/com/aapeli/connection/Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ public final class Connection implements Runnable {
private Thread thread;


public Connection(AApplet gameApplet, ConnListener conListener, String[] gameCipherCmds) {
this(gameApplet, gameApplet.param, conListener, gameCipherCmds);
public Connection(AApplet gameApplet, ConnListener connListener, String[] gameCipherCmds) {
this(gameApplet, gameApplet.param, connListener, gameCipherCmds);
}

public Connection(Parameters params, ConnListener conListener, String[] gameCipherCmds) {
this((AApplet) null, params, conListener, gameCipherCmds);
public Connection(Parameters params, ConnListener connListener, String[] gameCipherCmds) {
this((AApplet) null, params, connListener, gameCipherCmds);
}

private Connection(AApplet gameApplet, Parameters params, ConnListener conListener, String[] gameCipherCmds) {
private Connection(AApplet gameApplet, Parameters params, ConnListener connListener, String[] gameCipherCmds) {
this.gameApplet = gameApplet;
this.params = params;
this.connListener = connListener;
Expand Down Expand Up @@ -123,7 +123,7 @@ public void run() {
} while (this.state != STATE_DISCONNECTED);
} catch (Exception ex) {
; // TODO: hanlde
} catch (Error er) {
} catch (Error err) {
; // TODO: handle
}

Expand Down

0 comments on commit 8436611

Please sign in to comment.