mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +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
938728ce00
commit
b9f1cb4b15
1 changed files with 1 additions and 1 deletions
|
|
@ -605,7 +605,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