Removed println messages
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user