Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasb committed Jan 5, 2012
1 parent 700e261 commit 8d08145
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/se/forskningsavd/Communicator.java
Expand Up @@ -10,7 +10,7 @@
import java.nio.ByteBuffer;
import java.util.ArrayList;

public class Communicator {
class Communicator {
static class ReceiverThread extends Thread {
private final DatagramSocket mSocket;
private boolean mRunning = true;
Expand Down Expand Up @@ -72,7 +72,7 @@ static class SenderThread extends Thread {
private boolean mRunning = true;
private byte mTrustServer;
private byte mTrustClient;
private ArrayList<byte[]> mTrustMessages = new ArrayList<byte[]>();
private final ArrayList<byte[]> mTrustMessages = new ArrayList<byte[]>();
private int mTrustTimeout;

public SenderThread(DatagramSocket socket) {
Expand All @@ -81,7 +81,7 @@ public SenderThread(DatagramSocket socket) {

@Override
public void run() {
InetAddress hostAddress = null;
InetAddress hostAddress;
try {
hostAddress = InetAddress.getByName(Settings.HOST);
final String message = "HELO";
Expand Down

0 comments on commit 8d08145

Please sign in to comment.