Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1647)

Unified Diff: net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java

Issue 112163002: Fixing Java style errors in net/android/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update known findbugs Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java
diff --git a/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java b/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java
index 2c9650a05d51ce366aec38c2a90e09f5efb21aa9..53bb1ec85af542fd5864835b8982294004a4d608 100644
--- a/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java
+++ b/net/android/java/src/org/chromium/net/NetworkChangeNotifierAutoDetect.java
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -97,8 +97,8 @@ public class NetworkChangeNotifierAutoDetect extends BroadcastReceiver
*/
private void registerReceiver() {
if (!mRegistered) {
- mRegistered = true;
- mContext.registerReceiver(this, mIntentFilter);
+ mRegistered = true;
+ mContext.registerReceiver(this, mIntentFilter);
}
}
@@ -107,8 +107,8 @@ public class NetworkChangeNotifierAutoDetect extends BroadcastReceiver
*/
private void unregisterReceiver() {
if (mRegistered) {
- mRegistered = false;
- mContext.unregisterReceiver(this);
+ mRegistered = false;
+ mContext.unregisterReceiver(this);
}
}
@@ -189,7 +189,7 @@ public class NetworkChangeNotifierAutoDetect extends BroadcastReceiver
private static class NetworkConnectivityIntentFilter extends IntentFilter {
NetworkConnectivityIntentFilter() {
- addAction(ConnectivityManager.CONNECTIVITY_ACTION);
+ addAction(ConnectivityManager.CONNECTIVITY_ACTION);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698