Skip to content

Commit 9e1816f

Browse files
committed
Renamed long LogCat tags, ResponseHandler -> RH in all cases
1 parent 2d907b6 commit 9e1816f

11 files changed

+11
-13
lines changed

library/src/main/java/com/loopj/android/http/AsyncHttpRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public AsyncHttpRequest(AbstractHttpClient client, HttpContext context, HttpUriR
5656
* This method is called once by the system when the request is about to be
5757
* processed by the system. The library makes sure that a single request
5858
* is pre-processed only once.
59-
*
59+
* <p/>
6060
* Please note: pre-processing does NOT run on the main thread, and thus
6161
* any UI activities that you must perform should be properly dispatched to
6262
* the app's UI thread.
@@ -71,7 +71,7 @@ public void onPreProcessRequest(AsyncHttpRequest request) {
7171
* This method is called once by the system when the request has been fully
7272
* sent, handled and finished. The library makes sure that a single request
7373
* is post-processed only once.
74-
*
74+
* <p/>
7575
* Please note: post-processing does NOT run on the main thread, and thus
7676
* any UI activities that you must perform should be properly dispatched to
7777
* the app's UI thread.

library/src/main/java/com/loopj/android/http/AsyncHttpResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
@SuppressWarnings("ALL")
8282
public abstract class AsyncHttpResponseHandler implements ResponseHandlerInterface {
8383

84-
private static final String LOG_TAG = "AsyncHttpResponseHandler";
84+
private static final String LOG_TAG = "AsyncHttpRH";
8585

8686
protected static final int SUCCESS_MESSAGE = 0;
8787
protected static final int FAILURE_MESSAGE = 1;

library/src/main/java/com/loopj/android/http/BaseJsonHttpResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @param <JSON_TYPE> Generic type meant to be returned in callback
3434
*/
3535
public abstract class BaseJsonHttpResponseHandler<JSON_TYPE> extends TextHttpResponseHandler {
36-
private static final String LOG_TAG = "BaseJsonHttpResponseHandler";
36+
private static final String LOG_TAG = "BaseJsonHttpRH";
3737

3838
/**
3939
* Creates a new JsonHttpResponseHandler with default charset "UTF-8"

library/src/main/java/com/loopj/android/http/BinaryHttpResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
*/
5353
public abstract class BinaryHttpResponseHandler extends AsyncHttpResponseHandler {
5454

55-
private static final String LOG_TAG = "BinaryHttpResponseHandler";
55+
private static final String LOG_TAG = "BinaryHttpRH";
5656

5757
private String[] mAllowedContentTypes = new String[]{
5858
RequestParams.APPLICATION_OCTET_STREAM,

library/src/main/java/com/loopj/android/http/DataAsyncHttpResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
@SuppressWarnings("ALL")
3131
public abstract class DataAsyncHttpResponseHandler extends AsyncHttpResponseHandler {
32-
private static final String LOG_TAG = "DataAsyncHttpResponseHandler";
32+
private static final String LOG_TAG = "DataAsyncHttpRH";
3333

3434
protected static final int PROGRESS_DATA_MESSAGE = 7;
3535

library/src/main/java/com/loopj/android/http/FileAsyncHttpResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public abstract class FileAsyncHttpResponseHandler extends AsyncHttpResponseHand
3333

3434
protected final File file;
3535
protected final boolean append;
36-
private static final String LOG_TAG = "FileAsyncHttpResponseHandler";
36+
private static final String LOG_TAG = "FileAsyncHttpRH";
3737

3838
/**
3939
* Obtains new FileAsyncHttpResponseHandler and stores response in passed file

library/src/main/java/com/loopj/android/http/JsonHttpResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*/
3838
public class JsonHttpResponseHandler extends TextHttpResponseHandler {
3939

40-
private static final String LOG_TAG = "JsonHttpResponseHandler";
40+
private static final String LOG_TAG = "JsonHttpRH";
4141

4242

4343
private boolean useRFC5179CompatibilityMode = true;

library/src/main/java/com/loopj/android/http/RangeFileAsyncHttpResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636

3737
public abstract class RangeFileAsyncHttpResponseHandler extends FileAsyncHttpResponseHandler {
38-
private static final String LOG_TAG = "RangeFileAsyncHttpResponseHandler";
38+
private static final String LOG_TAG = "RangeFileAsyncHttpRH";
3939

4040
private long current = 0;
4141
private boolean append = false;

library/src/main/java/com/loopj/android/http/SaxAsyncHttpResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public abstract class SaxAsyncHttpResponseHandler<T extends DefaultHandler> exte
6464
* Generic Type of handler
6565
*/
6666
private T handler = null;
67-
private final static String LOG_TAG = "SaxAsyncHttpResponseHandler";
67+
private final static String LOG_TAG = "SaxAsyncHttpRH";
6868

6969
/**
7070
* Constructs new SaxAsyncHttpResponseHandler with given handler instance

library/src/main/java/com/loopj/android/http/SimpleMultipartEntity.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ public void addPart(String key, String streamName, InputStream inputStream, Stri
142142

143143
out.write(CR_LF);
144144
out.flush();
145-
146-
AsyncHttpClient.silentCloseOutputStream(out);
147145
}
148146

149147
private String normalizeContentType(String type) {

library/src/main/java/com/loopj/android/http/TextHttpResponseHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
*/
5858
public abstract class TextHttpResponseHandler extends AsyncHttpResponseHandler {
5959

60-
private static final String LOG_TAG = "TextHttpResponseHandler";
60+
private static final String LOG_TAG = "TextHttpRH";
6161

6262
/**
6363
* Creates new instance with default UTF-8 encoding

0 commit comments

Comments
 (0)