Commit 91d8fc9eeb1ef3db907b74b701ee14217d9324e6
1 parent
c66109e1
Enlèvement des print cancer
Showing
1 changed file
with
2 additions
and
4 deletions
Show diff stats
PremiereActivite/app/src/main/java/com/example/app_10p5/NetworkThread.java
@@ -85,11 +85,9 @@ public class NetworkThread extends AsyncTask<Void, Void, JSONObject> { | @@ -85,11 +85,9 @@ public class NetworkThread extends AsyncTask<Void, Void, JSONObject> { | ||
85 | 85 | ||
86 | json = new JSONObject(response); | 86 | json = new JSONObject(response); |
87 | 87 | ||
88 | - System.out.println(json.getString("status")); | ||
89 | - | ||
90 | httpCo.disconnect(); | 88 | httpCo.disconnect(); |
91 | - } catch (Throwable e) { | ||
92 | - System.out.println(e.toString()); | 89 | + } catch (Throwable t) { |
90 | + System.out.println(t.toString()); | ||
93 | } | 91 | } |
94 | 92 | ||
95 | return json; | 93 | return json; |