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

Unified Diff: ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java

Issue 2548013002: Remove redundant field initialization in Java code. (Closed)
Patch Set: rebase Created 4 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: ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
diff --git a/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java b/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
index 930fe3a1f6053548e93455fba09247c9ef9e0ac8..9920c2af8f4f43b69d25e8c46110b6edf8efafcb 100644
--- a/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
+++ b/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
@@ -22,10 +22,10 @@ public class DeviceFormFactor {
public static final int MINIMUM_TABLET_WIDTH_DP = 600;
private static final int MINIMUM_LARGE_TABLET_WIDTH_DP = 720;
- private static Boolean sIsTablet = null;
- private static Boolean sIsLargeTablet = null;
- private static Integer sMinimumTabletWidthPx = null;
- private static Float sDensity = null;
+ private static Boolean sIsTablet;
+ private static Boolean sIsLargeTablet;
+ private static Integer sMinimumTabletWidthPx;
+ private static Float sDensity;
/**
* @param context {@link Context} used to get the Application Context.

Powered by Google App Engine
This is Rietveld 408576698