Removed println messages

This commit is contained in:
Fan-Wu Yang
2017-09-20 15:16:32 +12:00
parent 30087ed9bd
commit fec421da00
3 changed files with 0 additions and 5 deletions
@@ -23,8 +23,6 @@ public class HttpMatchBrowserClient extends Thread {
while(!Thread.interrupted()) {
try {
JSONArray cons = JsonReader.readJsonFromUrlArray("http://api.umbrasheep.com/seng/get_matches/");
System.out.println("Got stuff");
System.out.println(cons.toString());
for (int i = 0; i < cons.length(); i++) {
JSONObject con = (JSONObject) cons.get(i);
connections.add(new RaceConnection((String) con.get("ip_address"), con.getInt("port"), "Boat Game"));
@@ -41,7 +41,6 @@ public class HttpMatchBrowserHost extends Thread {
params.add(new BasicNameValuePair("magic", "Thomas and Seng"));
sendHttp("http://api.umbrasheep.com/seng/registermatch/");
System.out.println("Register Match");
}
/**
@@ -77,7 +76,6 @@ public class HttpMatchBrowserHost extends Thread {
while(!Thread.interrupted()){
try {
sendHttp("http://api.umbrasheep.com/seng/keep_match_alive/");
System.out.println("Keep match ALive");
Thread.sleep(2000);
} catch (IOException e) {
e.printStackTrace();