Remove redundant type casts (#1929)

This commit is contained in:
Edward Savage 2018-11-03 08:51:47 -04:00 committed by Adam Jones
parent ef73204cc0
commit b2e5ad0c26
6 changed files with 12 additions and 12 deletions

View file

@ -439,7 +439,7 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment {
private View buildCatLabel(final String catName, ViewGroup categoryContainer) {
final View item = LayoutInflater.from(getContext()).inflate(R.layout.detail_category_item, categoryContainer, false);
final CompatTextView textView = (CompatTextView) item.findViewById(R.id.mediaDetailCategoryItemText);
final CompatTextView textView = item.findViewById(R.id.mediaDetailCategoryItemText);
textView.setText(catName);
if (categoriesLoaded && categoriesPresent) {