summaryrefslogtreecommitdiffstats
path: root/net/android
diff options
context:
space:
mode:
authornewt@chromium.org <newt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-11 23:51:36 +0000
committernewt@chromium.org <newt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-11 23:51:36 +0000
commitb4c89e06a577e6f9d6cadce7035b1eb5e4fe6282 (patch)
tree5ac5bebba2c51383127b068167c4271ef6fc42e7 /net/android
parent97d6a5c0857686069de6eac94f8a41523abeaba7 (diff)
downloadchromium_src-b4c89e06a577e6f9d6cadce7035b1eb5e4fe6282.zip
chromium_src-b4c89e06a577e6f9d6cadce7035b1eb5e4fe6282.tar.gz
chromium_src-b4c89e06a577e6f9d6cadce7035b1eb5e4fe6282.tar.bz2
Fix unchecked call in ProxyChangeListener.
R=cbentzel@chromium.org Review URL: https://codereview.chromium.org/67403004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/android')
-rw-r--r--net/android/java/src/org/chromium/net/ProxyChangeListener.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/android/java/src/org/chromium/net/ProxyChangeListener.java b/net/android/java/src/org/chromium/net/ProxyChangeListener.java
index 879d504..d94f5b9 100644
--- a/net/android/java/src/org/chromium/net/ProxyChangeListener.java
+++ b/net/android/java/src/org/chromium/net/ProxyChangeListener.java
@@ -10,13 +10,13 @@ import android.content.Intent;
import android.content.IntentFilter;
import android.net.Proxy;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
import org.chromium.base.NativeClassQualifiedName;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+
// This class partners with native ProxyConfigServiceAndroid to listen for
// proxy change notifications from Android.
@JNINamespace("net")
@@ -101,7 +101,7 @@ public class ProxyChangeListener {
if (props == null) {
return null;
}
- Class cls = Class.forName(CLASS_NAME);
+ Class<?> cls = Class.forName(CLASS_NAME);
Method getHostMethod = cls.getDeclaredMethod(GET_HOST_NAME);
Method getPortMethod = cls.getDeclaredMethod(GET_PORT_NAME);