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

Unified Diff: ui/android/java/src/org/chromium/ui/picker/InputDialogContainer.java

Issue 1002883002: Fix up if statement curly braces issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 months 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/picker/InputDialogContainer.java
diff --git a/ui/android/java/src/org/chromium/ui/picker/InputDialogContainer.java b/ui/android/java/src/org/chromium/ui/picker/InputDialogContainer.java
index 2bbaacaaa3eb9ca17ce2757851660db99e3c8dcf..b79b198c5dc0ab8af5cb81f6c7bb18e7315f9304 100644
--- a/ui/android/java/src/org/chromium/ui/picker/InputDialogContainer.java
+++ b/ui/android/java/src/org/chromium/ui/picker/InputDialogContainer.java
@@ -332,14 +332,11 @@ public class InputDialogContainer {
}
}
- protected void setFieldDateTimeValue(int dialogType,
- int year, int month, int monthDay,
- int hourOfDay, int minute, int second, int millis,
- int week) {
+ protected void setFieldDateTimeValue(int dialogType, int year, int month, int monthDay,
+ int hourOfDay, int minute, int second, int millis, int week) {
// Prevents more than one callback being sent to the native
// side when the dialog triggers multiple events.
- if (mDialogAlreadyDismissed)
- return;
+ if (mDialogAlreadyDismissed) return;
mDialogAlreadyDismissed = true;
if (dialogType == TextInputType.MONTH) {

Powered by Google App Engine
This is Rietveld 408576698