mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Add @SuppressWarnings("ComparableType") for instances of a class implementing 'Comparable<T>' where T is not compatible with the type of the class.
In order to facilitate enabling a compile-time error check, we are suppressing these existing instances. Once the compile-time error is enabled, we will file bugs to clean up any unfixed instances in []. Note that this CL should result in no effective changes to the code, but the code as currently-written might contain a real bug. If you'd prefer to fix the bug now, please either reply with edits, or accept this CL then follow up with a change that fixes the underlying issue. Tested: tap_presubmit: [] Some tests failed; test failures are believed to be unrelated to this CL ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=177836122
This commit is contained in:
parent
002df729a5
commit
b3ebdaaed3
@ -29,9 +29,8 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public final class HlsMediaPlaylist extends HlsPlaylist {
|
public final class HlsMediaPlaylist extends HlsPlaylist {
|
||||||
|
|
||||||
/**
|
/** Media segment reference. */
|
||||||
* Media segment reference.
|
@SuppressWarnings("ComparableType")
|
||||||
*/
|
|
||||||
public static final class Segment implements Comparable<Long> {
|
public static final class Segment implements Comparable<Long> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user