From 55e4637b42e637672586be044ba3c54c5708ea64 Mon Sep 17 00:00:00 2001 From: Mike <7153163+hackbar@users.noreply.github.com> Date: Thu, 23 Aug 2018 21:57:40 -0700 Subject: [PATCH] Android: add braces to a one-line if block There isn't an official Java style, but this seems to be consistent with everything else. Also it's weird to see one one liners without braces in Java. --- .../java/org/dolphinemu/dolphinemu/utils/StartupHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/StartupHandler.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/StartupHandler.java index 1be60cd21f..83d91c41ba 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/StartupHandler.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/StartupHandler.java @@ -17,7 +17,9 @@ public final class StartupHandler String start_file = ""; Bundle extras = parent.getIntent().getExtras(); if (extras != null) + { start_file = extras.getString("AutoStartFile"); + } if (!TextUtils.isEmpty(start_file)) {