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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/input/GamepadList.java

Issue 744453002: Fix a bunch of Java Checkstyle issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NeedsBraces to info Created 6 years, 1 month 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: content/public/android/java/src/org/chromium/content/browser/input/GamepadList.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/GamepadList.java b/content/public/android/java/src/org/chromium/content/browser/input/GamepadList.java
index b97d1c326ec650ec0cf0e2af90d25477633a925b..70ec7f619afd0f2622ad3d8f9c2b44bdb7990aff 100644
--- a/content/public/android/java/src/org/chromium/content/browser/input/GamepadList.java
+++ b/content/public/android/java/src/org/chromium/content/browser/input/GamepadList.java
@@ -248,8 +248,8 @@ public class GamepadList {
private static boolean isGamepadDevice(InputDevice inputDevice) {
if (inputDevice == null) return false;
- return ((inputDevice.getSources() & InputDevice.SOURCE_JOYSTICK) ==
- InputDevice.SOURCE_JOYSTICK);
+ return ((inputDevice.getSources()
+ & InputDevice.SOURCE_JOYSTICK) == InputDevice.SOURCE_JOYSTICK);
}
private GamepadDevice getGamepadForEvent(InputEvent event) {

Powered by Google App Engine
This is Rietveld 408576698