InsightPumpFragment: add redundant casting for travis

This commit is contained in:
Jamorham 2018-01-26 17:17:04 +00:00
parent ee0a53976f
commit 0966bea1e8
No known key found for this signature in database
GPG key ID: 0BC5C3E0AAD64DF9

View file

@ -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;