Commit d596fcd9 by olly Committed by Oliver Woodman

Remove unnecessary warning suppressions

PiperOrigin-RevId: 277709114
parent a7b24299
...@@ -478,7 +478,6 @@ public interface Player { ...@@ -478,7 +478,6 @@ public interface Player {
abstract class DefaultEventListener implements EventListener { abstract class DefaultEventListener implements EventListener {
@Override @Override
@SuppressWarnings("deprecation")
public void onTimelineChanged(Timeline timeline, @TimelineChangeReason int reason) { public void onTimelineChanged(Timeline timeline, @TimelineChangeReason int reason) {
Object manifest = null; Object manifest = null;
if (timeline.getWindowCount() == 1) { if (timeline.getWindowCount() == 1) {
......
...@@ -820,7 +820,6 @@ public class DefaultTrackSelector extends MappingTrackSelector { ...@@ -820,7 +820,6 @@ public class DefaultTrackSelector extends MappingTrackSelector {
* @deprecated This instance does not have {@link Context} constraints configured. Use {@link * @deprecated This instance does not have {@link Context} constraints configured. Use {@link
* #getDefaults(Context)} instead. * #getDefaults(Context)} instead.
*/ */
@SuppressWarnings("deprecation")
@Deprecated @Deprecated
public static final Parameters DEFAULT = DEFAULT_WITHOUT_CONTEXT; public static final Parameters DEFAULT = DEFAULT_WITHOUT_CONTEXT;
...@@ -1458,7 +1457,6 @@ public class DefaultTrackSelector extends MappingTrackSelector { ...@@ -1458,7 +1457,6 @@ public class DefaultTrackSelector extends MappingTrackSelector {
/** @deprecated Use {@link #DefaultTrackSelector(Context, TrackSelection.Factory)}. */ /** @deprecated Use {@link #DefaultTrackSelector(Context, TrackSelection.Factory)}. */
@Deprecated @Deprecated
@SuppressWarnings("deprecation")
public DefaultTrackSelector(TrackSelection.Factory trackSelectionFactory) { public DefaultTrackSelector(TrackSelection.Factory trackSelectionFactory) {
this(Parameters.DEFAULT_WITHOUT_CONTEXT, trackSelectionFactory); this(Parameters.DEFAULT_WITHOUT_CONTEXT, trackSelectionFactory);
} }
......
...@@ -89,7 +89,6 @@ import javax.microedition.khronos.opengles.GL10; ...@@ -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 // Kept in field rather than a local variable in order not to get garbage collected before
// glDrawArrays uses it. // glDrawArrays uses it.
@SuppressWarnings("FieldCanBeLocal")
private FloatBuffer[] textureCoords; private FloatBuffer[] textureCoords;
private int program; private int program;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment