Skip to content

Commit

Permalink
Fix missing equals sign in inline-comment parameter names
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 542577676
  • Loading branch information
oceanjules authored and tof-tof committed Jun 23, 2023
1 parent 12584fb commit ea0f564
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private Cursor getCursor() {
.query(
tableName,
COLUMNS,
/* selection */ null,
/* selection= */ null,
/* selectionArgs= */ null,
/* groupBy= */ null,
/* having= */ null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ protected HttpDataSource createDataSourceInternal(
/* userAgent= */ null,
defaultRequestProperties,
/* contentTypePredicate= */ null,
/* keepPostFor302Redirects */ false);
/* keepPostFor302Redirects= */ false);
if (transferListener != null) {
dataSource.addTransferListener(transferListener);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public static PlaybackStats merge(PlaybackStats... playbackStats) {
return new PlaybackStats(
playbackCount,
playbackStateDurationsMs,
/* playbackStateHistory */ Collections.emptyList(),
/* playbackStateHistory= */ Collections.emptyList(),
/* mediaTimeHistory= */ Collections.emptyList(),
firstReportedTimeMs,
foregroundPlaybackCount,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public void customCallbackBeforePreparationAddSingleWithIndex() throws Exception
testThread.runOnMainThread(
() ->
mediaSource.addMediaSource(
/* index */ 0,
/* index= */ 0,
createFakeMediaSource(),
Util.createHandlerForCurrentLooper(),
runnableInvoked::countDown));
Expand All @@ -463,7 +463,7 @@ public void customCallbackBeforePreparationAddMultipleWithIndex() throws Excepti
testThread.runOnMainThread(
() ->
mediaSource.addMediaSources(
/* index */ 0,
/* index= */ 0,
Arrays.asList(new MediaSource[] {createFakeMediaSource(), createFakeMediaSource()}),
Util.createHandlerForCurrentLooper(),
runnableInvoked::countDown));
Expand All @@ -482,7 +482,7 @@ public void customCallbackBeforePreparationRemove() throws Exception {
() -> {
mediaSource.addMediaSource(createFakeMediaSource());
mediaSource.removeMediaSource(
/* index */ 0, Util.createHandlerForCurrentLooper(), runnableInvoked::countDown);
/* index= */ 0, Util.createHandlerForCurrentLooper(), runnableInvoked::countDown);
});
runnableInvoked.await(MediaSourceTestRunner.TIMEOUT_MS, MILLISECONDS);
testThread.release();
Expand Down Expand Up @@ -557,7 +557,7 @@ public void customCallbackAfterPreparationAddSingleWithIndex() throws Exception
testThread.runOnMainThread(
() ->
mediaSource.addMediaSource(
/* index */ 0,
/* index= */ 0,
createFakeMediaSource(),
Util.createHandlerForCurrentLooper(),
timelineGrabber));
Expand All @@ -577,7 +577,7 @@ public void customCallbackAfterPreparationAddMultipleWithIndex() throws Exceptio
testThread.runOnMainThread(
() ->
mediaSource.addMediaSources(
/* index */ 0,
/* index= */ 0,
Arrays.asList(
new MediaSource[] {createFakeMediaSource(), createFakeMediaSource()}),
Util.createHandlerForCurrentLooper(),
Expand All @@ -601,7 +601,7 @@ public void customCallbackAfterPreparationRemove() throws Exception {
testThread.runOnMainThread(
() ->
mediaSource.removeMediaSource(
/* index */ 0, Util.createHandlerForCurrentLooper(), timelineGrabber));
/* index= */ 0, Util.createHandlerForCurrentLooper(), timelineGrabber));
Timeline timeline = timelineGrabber.assertTimelineChangeBlocking();
assertThat(timeline.getWindowCount()).isEqualTo(0);
} finally {
Expand Down Expand Up @@ -1114,7 +1114,7 @@ private static FakeMediaSource[] createMediaSources(int count) {
}

private static FakeMediaSource createFakeMediaSource() {
return new FakeMediaSource(createFakeTimeline(/* index */ 0));
return new FakeMediaSource(createFakeTimeline(/* index= */ 0));
}

private static FakeTimeline createFakeTimeline(int index) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ private static void loadInitializationData(
dataSpec,
representation.format,
C.SELECTION_REASON_UNKNOWN,
null /* trackSelectionData */,
/* trackSelectionData= */ null,
chunkExtractor);
initializationChunk.load();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public static FakeTimeline createMultiPeriodAdTimeline(
AdPlaybackState contentPeriodState = new AdPlaybackState(/* adsId= */ "adsId");
AdPlaybackState firstAdPeriodState =
contentPeriodState
.withNewAdGroup(/* adGroupIndex= */ 0, /* adGroupTimesUs */ 0)
.withNewAdGroup(/* adGroupIndex= */ 0, /* adGroupTimeUs= */ 0)
.withAdCount(/* adGroupIndex= */ 0, 1)
.withAdDurationsUs(
/* adGroupIndex= */ 0, DEFAULT_WINDOW_OFFSET_IN_FIRST_PERIOD_US + periodDurationUs)
Expand Down

0 comments on commit ea0f564

Please sign in to comment.