Remove unnecessary warning suppressions

PiperOrigin-RevId: 277709114
This commit is contained in:
olly 2019-10-31 13:32:48 +00:00 committed by Oliver Woodman
parent a7b242998a
commit d596fcd9ba
3 changed files with 0 additions and 4 deletions

View File

@ -478,7 +478,6 @@ public interface Player {
abstract class DefaultEventListener implements EventListener {
@Override
@SuppressWarnings("deprecation")
public void onTimelineChanged(Timeline timeline, @TimelineChangeReason int reason) {
Object manifest = null;
if (timeline.getWindowCount() == 1) {

View File

@ -820,7 +820,6 @@ public class DefaultTrackSelector extends MappingTrackSelector {
* @deprecated This instance does not have {@link Context} constraints configured. Use {@link
* #getDefaults(Context)} instead.
*/
@SuppressWarnings("deprecation")
@Deprecated
public static final Parameters DEFAULT = DEFAULT_WITHOUT_CONTEXT;
@ -1458,7 +1457,6 @@ public class DefaultTrackSelector extends MappingTrackSelector {
/** @deprecated Use {@link #DefaultTrackSelector(Context, TrackSelection.Factory)}. */
@Deprecated
@SuppressWarnings("deprecation")
public DefaultTrackSelector(TrackSelection.Factory trackSelectionFactory) {
this(Parameters.DEFAULT_WITHOUT_CONTEXT, trackSelectionFactory);
}

View File

@ -89,7 +89,6 @@ import javax.microedition.khronos.opengles.GL10;
// Kept in field rather than a local variable in order not to get garbage collected before
// glDrawArrays uses it.
@SuppressWarnings("FieldCanBeLocal")
private FloatBuffer[] textureCoords;
private int program;