From: Damyan Ivanov Date: Sun, 22 Dec 2019 06:42:18 +0000 (+0200) Subject: inline redundant variable X-Git-Tag: v0.12.0~136 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=43c848c75196852a22022cc43267e1ba687fe89f;p=mobile-ledger.git inline redundant variable --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java index e43e20e3..e67eda00 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java @@ -407,9 +407,8 @@ public class ProfileDetailFragment extends Fragment implements HueRingDialog.Hue @Override public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { - View rootView = inflater.inflate(R.layout.profile_detail, container, false); - return rootView; + return inflater.inflate(R.layout.profile_detail, container, false); } private boolean checkUrlValidity() { boolean valid = true;