From: Damyan Ivanov Date: Thu, 19 Dec 2019 20:06:37 +0000 (+0200) Subject: whitespace X-Git-Tag: v0.12.0~141 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=017aa3e990667845af1513ede2db282c4c03b991;p=mobile-ledger.git whitespace --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileDetailActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileDetailActivity.java index 1568c65f..4536e0d9 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileDetailActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileDetailActivity.java @@ -20,6 +20,9 @@ package net.ktnx.mobileledger.ui.activity; import android.os.Bundle; import android.view.Menu; +import androidx.appcompat.app.ActionBar; +import androidx.appcompat.widget.Toolbar; + import net.ktnx.mobileledger.R; import net.ktnx.mobileledger.model.Data; import net.ktnx.mobileledger.model.MobileLedgerProfile; @@ -29,9 +32,6 @@ import net.ktnx.mobileledger.utils.Colors; import java.util.ArrayList; import java.util.Locale; -import androidx.appcompat.app.ActionBar; -import androidx.appcompat.widget.Toolbar; - import static net.ktnx.mobileledger.utils.Logger.debug; /** @@ -51,9 +51,10 @@ public class ProfileDetailActivity extends CrashReportingActivity { ArrayList profiles = Data.profiles.getValue(); if (profiles != null) { profile = profiles.get(index); - if (profile == null) throw new AssertionError( - String.format("Can't get profile " + "(index:%d) from the global list", - index)); + if (profile == null) + throw new AssertionError( + String.format("Can't get profile " + "(index:%d) from the global list", + index)); debug("profiles", String.format(Locale.ENGLISH, "Editing profile %s (%s); hue=%d", profile.getName(), profile.getUuid(), profile.getThemeId())); @@ -89,14 +90,16 @@ public class ProfileDetailActivity extends CrashReportingActivity { mFragment = new ProfileDetailFragment(); mFragment.setArguments(arguments); getSupportFragmentManager().beginTransaction() - .add(R.id.profile_detail_container, mFragment).commit(); + .add(R.id.profile_detail_container, mFragment) + .commit(); } } @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); debug("profiles", "[activity] Creating profile details options menu"); - if (mFragment != null) mFragment.onCreateOptionsMenu(menu, getMenuInflater()); + if (mFragment != null) + mFragment.onCreateOptionsMenu(menu, getMenuInflater()); return true; }