mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
Fix warning about ambiguous @EnsuresNonNull annotation
``` [expression.parameter.name.shadows.field] The postcondition EnsuresNonNull on the declaration of method 'setContentTimeline' contains ambiguous identifier 'contentTimeline'. Use "this.contentTimeline" for the field, or "#1" for the formal parameter. private void setContentTimeline(Timeline contentTimeline) { ^ ``` PiperOrigin-RevId: 448285571
This commit is contained in:
parent
25279ad477
commit
4ce60968b2
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ public final class ImaServerSideAdInsertionMediaSource extends CompositeMediaSou
|
|||
}
|
||||
|
||||
@MainThread
|
||||
@EnsuresNonNull("contentTimeline")
|
||||
@EnsuresNonNull("this.contentTimeline")
|
||||
private void setContentTimeline(Timeline contentTimeline) {
|
||||
if (contentTimeline.equals(this.contentTimeline)) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue