summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/calllocation/impl/HttpFetcher.java
diff options
context:
space:
mode:
authorlinyuh <linyuh@google.com>2017-12-27 17:02:37 -0800
committerCopybara-Service <copybara-piper@google.com>2017-12-27 17:03:47 -0800
commit183cb71663320f16149d83eeebaff7795a4b55f2 (patch)
treebc8bfcce809257b3ddbb423a9808082292b9f6a3 /java/com/android/incallui/calllocation/impl/HttpFetcher.java
parentfc81a030a7b4f6d4a497f71aed593d398795e7da (diff)
Remove field prefixes.
Test: Existing tests PiperOrigin-RevId: 180230450 Change-Id: I0b2589cfeeaef81e42a04efa48af24b4e4d0e95f
Diffstat (limited to 'java/com/android/incallui/calllocation/impl/HttpFetcher.java')
-rw-r--r--java/com/android/incallui/calllocation/impl/HttpFetcher.java12
1 files changed, 5 insertions, 7 deletions
diff --git a/java/com/android/incallui/calllocation/impl/HttpFetcher.java b/java/com/android/incallui/calllocation/impl/HttpFetcher.java
index 10cc34d25..c182fa156 100644
--- a/java/com/android/incallui/calllocation/impl/HttpFetcher.java
+++ b/java/com/android/incallui/calllocation/impl/HttpFetcher.java
@@ -222,8 +222,6 @@ public class HttpFetcher {
/**
* Lookup up url re-write rules from gServices and apply to the given url.
*
-
- *
* @return The new url.
*/
private static URL reWriteUrl(Context context, String url) {
@@ -267,21 +265,21 @@ public class HttpFetcher {
/** Disconnect {@link HttpURLConnection} when InputStream is closed */
private static class HttpInputStreamWrapper extends FilterInputStream {
- final HttpURLConnection mHttpUrlConnection;
- final long mStartMillis = SystemClock.uptimeMillis();
+ final HttpURLConnection httpUrlConnection;
+ final long startMillis = SystemClock.uptimeMillis();
public HttpInputStreamWrapper(HttpURLConnection conn, InputStream in) {
super(in);
- mHttpUrlConnection = conn;
+ httpUrlConnection = conn;
}
@Override
public void close() throws IOException {
super.close();
- mHttpUrlConnection.disconnect();
+ httpUrlConnection.disconnect();
if (LogUtil.isDebugEnabled()) {
long endMillis = SystemClock.uptimeMillis();
- LogUtil.i("HttpFetcher.close", "fetch took " + (endMillis - mStartMillis) + " ms");
+ LogUtil.i("HttpFetcher.close", "fetch took " + (endMillis - startMillis) + " ms");
}
}
}