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.
This commit is contained in:
Mike 2018-08-23 21:57:40 -07:00
parent 6d954afddd
commit 55e4637b42

View file

@ -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))
{