Commit a04ebf63 by jbibik Committed by Tianyi Feng

Fix missing equals sign in inline-comment parameter names

PiperOrigin-RevId: 542577676
(cherry picked from commit 3819de56039b702e25ca3c1ba2fda5630f4446f8)
parent 8a4c944c
...@@ -356,7 +356,7 @@ public final class CronetDataSourceFactory extends BaseFactory { ...@@ -356,7 +356,7 @@ public final class CronetDataSourceFactory extends BaseFactory {
/* userAgent= */ null, /* userAgent= */ null,
defaultRequestProperties, defaultRequestProperties,
/* contentTypePredicate= */ null, /* contentTypePredicate= */ null,
/* keepPostFor302Redirects */ false); /* keepPostFor302Redirects= */ false);
if (transferListener != null) { if (transferListener != null) {
dataSource.addTransferListener(transferListener); dataSource.addTransferListener(transferListener);
} }
......
...@@ -344,7 +344,7 @@ public final class PlaybackStats { ...@@ -344,7 +344,7 @@ public final class PlaybackStats {
return new PlaybackStats( return new PlaybackStats(
playbackCount, playbackCount,
playbackStateDurationsMs, playbackStateDurationsMs,
/* playbackStateHistory */ Collections.emptyList(), /* playbackStateHistory= */ Collections.emptyList(),
/* mediaTimeHistory= */ Collections.emptyList(), /* mediaTimeHistory= */ Collections.emptyList(),
firstReportedTimeMs, firstReportedTimeMs,
foregroundPlaybackCount, foregroundPlaybackCount,
......
...@@ -445,7 +445,7 @@ public final class ConcatenatingMediaSourceTest { ...@@ -445,7 +445,7 @@ public final class ConcatenatingMediaSourceTest {
testThread.runOnMainThread( testThread.runOnMainThread(
() -> () ->
mediaSource.addMediaSource( mediaSource.addMediaSource(
/* index */ 0, /* index= */ 0,
createFakeMediaSource(), createFakeMediaSource(),
Util.createHandlerForCurrentLooper(), Util.createHandlerForCurrentLooper(),
runnableInvoked::countDown)); runnableInvoked::countDown));
...@@ -463,7 +463,7 @@ public final class ConcatenatingMediaSourceTest { ...@@ -463,7 +463,7 @@ public final class ConcatenatingMediaSourceTest {
testThread.runOnMainThread( testThread.runOnMainThread(
() -> () ->
mediaSource.addMediaSources( mediaSource.addMediaSources(
/* index */ 0, /* index= */ 0,
Arrays.asList(new MediaSource[] {createFakeMediaSource(), createFakeMediaSource()}), Arrays.asList(new MediaSource[] {createFakeMediaSource(), createFakeMediaSource()}),
Util.createHandlerForCurrentLooper(), Util.createHandlerForCurrentLooper(),
runnableInvoked::countDown)); runnableInvoked::countDown));
...@@ -482,7 +482,7 @@ public final class ConcatenatingMediaSourceTest { ...@@ -482,7 +482,7 @@ public final class ConcatenatingMediaSourceTest {
() -> { () -> {
mediaSource.addMediaSource(createFakeMediaSource()); mediaSource.addMediaSource(createFakeMediaSource());
mediaSource.removeMediaSource( mediaSource.removeMediaSource(
/* index */ 0, Util.createHandlerForCurrentLooper(), runnableInvoked::countDown); /* index= */ 0, Util.createHandlerForCurrentLooper(), runnableInvoked::countDown);
}); });
runnableInvoked.await(MediaSourceTestRunner.TIMEOUT_MS, MILLISECONDS); runnableInvoked.await(MediaSourceTestRunner.TIMEOUT_MS, MILLISECONDS);
testThread.release(); testThread.release();
...@@ -557,7 +557,7 @@ public final class ConcatenatingMediaSourceTest { ...@@ -557,7 +557,7 @@ public final class ConcatenatingMediaSourceTest {
testThread.runOnMainThread( testThread.runOnMainThread(
() -> () ->
mediaSource.addMediaSource( mediaSource.addMediaSource(
/* index */ 0, /* index= */ 0,
createFakeMediaSource(), createFakeMediaSource(),
Util.createHandlerForCurrentLooper(), Util.createHandlerForCurrentLooper(),
timelineGrabber)); timelineGrabber));
...@@ -577,7 +577,7 @@ public final class ConcatenatingMediaSourceTest { ...@@ -577,7 +577,7 @@ public final class ConcatenatingMediaSourceTest {
testThread.runOnMainThread( testThread.runOnMainThread(
() -> () ->
mediaSource.addMediaSources( mediaSource.addMediaSources(
/* index */ 0, /* index= */ 0,
Arrays.asList( Arrays.asList(
new MediaSource[] {createFakeMediaSource(), createFakeMediaSource()}), new MediaSource[] {createFakeMediaSource(), createFakeMediaSource()}),
Util.createHandlerForCurrentLooper(), Util.createHandlerForCurrentLooper(),
...@@ -601,7 +601,7 @@ public final class ConcatenatingMediaSourceTest { ...@@ -601,7 +601,7 @@ public final class ConcatenatingMediaSourceTest {
testThread.runOnMainThread( testThread.runOnMainThread(
() -> () ->
mediaSource.removeMediaSource( mediaSource.removeMediaSource(
/* index */ 0, Util.createHandlerForCurrentLooper(), timelineGrabber)); /* index= */ 0, Util.createHandlerForCurrentLooper(), timelineGrabber));
Timeline timeline = timelineGrabber.assertTimelineChangeBlocking(); Timeline timeline = timelineGrabber.assertTimelineChangeBlocking();
assertThat(timeline.getWindowCount()).isEqualTo(0); assertThat(timeline.getWindowCount()).isEqualTo(0);
} finally { } finally {
...@@ -1114,7 +1114,7 @@ public final class ConcatenatingMediaSourceTest { ...@@ -1114,7 +1114,7 @@ public final class ConcatenatingMediaSourceTest {
} }
private static FakeMediaSource createFakeMediaSource() { private static FakeMediaSource createFakeMediaSource() {
return new FakeMediaSource(createFakeTimeline(/* index */ 0)); return new FakeMediaSource(createFakeTimeline(/* index= */ 0));
} }
private static FakeTimeline createFakeTimeline(int index) { private static FakeTimeline createFakeTimeline(int index) {
......
...@@ -322,7 +322,7 @@ public final class DashUtil { ...@@ -322,7 +322,7 @@ public final class DashUtil {
dataSpec, dataSpec,
representation.format, representation.format,
C.SELECTION_REASON_UNKNOWN, C.SELECTION_REASON_UNKNOWN,
null /* trackSelectionData */, /* trackSelectionData= */ null,
chunkExtractor); chunkExtractor);
initializationChunk.load(); initializationChunk.load();
} }
......
...@@ -247,7 +247,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull; ...@@ -247,7 +247,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
.query( .query(
tableName, tableName,
COLUMNS, COLUMNS,
/* selection */ null, /* selection= */ null,
/* selectionArgs= */ null, /* selectionArgs= */ null,
/* groupBy= */ null, /* groupBy= */ null,
/* having= */ null, /* having= */ null,
......
...@@ -324,7 +324,7 @@ public final class FakeTimeline extends Timeline { ...@@ -324,7 +324,7 @@ public final class FakeTimeline extends Timeline {
AdPlaybackState contentPeriodState = new AdPlaybackState(/* adsId= */ "adsId"); AdPlaybackState contentPeriodState = new AdPlaybackState(/* adsId= */ "adsId");
AdPlaybackState firstAdPeriodState = AdPlaybackState firstAdPeriodState =
contentPeriodState contentPeriodState
.withNewAdGroup(/* adGroupIndex= */ 0, /* adGroupTimesUs */ 0) .withNewAdGroup(/* adGroupIndex= */ 0, /* adGroupTimeUs= */ 0)
.withAdCount(/* adGroupIndex= */ 0, 1) .withAdCount(/* adGroupIndex= */ 0, 1)
.withAdDurationsUs( .withAdDurationsUs(
/* adGroupIndex= */ 0, DEFAULT_WINDOW_OFFSET_IN_FIRST_PERIOD_US + periodDurationUs) /* adGroupIndex= */ 0, DEFAULT_WINDOW_OFFSET_IN_FIRST_PERIOD_US + periodDurationUs)
......
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