made lint ignore some code and layout warnings

This commit is contained in:
Christian Schabesberger 2015-11-26 19:11:31 +01:00
parent 2afee89de3
commit 6ca9e52f2f
4 changed files with 10 additions and 4 deletions

View file

@ -1,5 +1,6 @@
package org.schabi.newpipe;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
@ -241,6 +242,7 @@ public class VideoItemDetailFragment extends Fragment {
thumbsUpView.setText(nf.format(info.like_count));
thumbsDownView.setText(nf.format(info.dislike_count));
@SuppressLint("SimpleDateFormat")
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
Date datum = null;
try {