From 0966bea1e8ce77933128ee01a0c2ca79181f9291 Mon Sep 17 00:00:00 2001 From: Jamorham Date: Fri, 26 Jan 2018 17:17:04 +0000 Subject: [PATCH] InsightPumpFragment: add redundant casting for travis --- .../androidaps/plugins/PumpInsight/InsightPumpFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpInsight/InsightPumpFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpInsight/InsightPumpFragment.java index b5036b93f1..fad3a51e79 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpInsight/InsightPumpFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpInsight/InsightPumpFragment.java @@ -52,8 +52,8 @@ public class InsightPumpFragment extends SubscriberFragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { try { - View view = inflater.inflate(R.layout.insightpump_fragment, container, false); - holder = view.findViewById(R.id.insightholder); + final View view = inflater.inflate(R.layout.insightpump_fragment, container, false); + holder = (LinearLayout) view.findViewById(R.id.insightholder); viewAdapter = new StatusItemViewAdapter(getActivity(), holder); return view;