Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Silence logging

  • Loading branch information...
commit 67e12851c8ce9d92f43b0d72b91a3ca02ae276ea 1 parent b6f915a
@morganchristiansson authored
View
2  src/se/mog/tfl/HistoryDb.java
@@ -28,7 +28,7 @@ public HistoryDb(Context context) {
" `created_at` INTEGER," +
" `updated_at` INTEGER" +
")";
- Log.d(TAG, sql);
+ //Log.d(TAG, sql);
db.execSQL(sql);
}
View
4 src/se/mog/tfl/JsonDownloader.java
@@ -54,7 +54,7 @@ private String getUrl(String mode) {
private String getResponse(String url) throws ClientProtocolException, IOException {
//locator = postcode
//stop = station or stop
- Log.d(Main.TAG, url);
+ //Log.d(Main.TAG, url);
try {
DefaultHttpClient client = new DefaultHttpClient();
@@ -65,7 +65,7 @@ private String getResponse(String url) throws ClientProtocolException, IOExcepti
if(s.getStatusCode() != 200) throw new IOException(s.getStatusCode()+" "+s.getReasonPhrase());
response.getEntity().writeTo(baos);
String responseText = baos.toString();
- Log.d(Main.TAG, "response="+responseText);
+ //Log.d(Main.TAG, "response="+responseText);
return responseText;
} finally {
request = null;
Please sign in to comment.
Something went wrong with that request. Please try again.