From 53b44524cdc2b2b24bac58490e9caae6db2872e4 Mon Sep 17 00:00:00 2001 From: ibaker Date: Thu, 26 May 2022 11:52:02 +0000 Subject: [PATCH] Fix typos flagged by lint PiperOrigin-RevId: 451135097 --- .../src/main/java/com/google/android/exoplayer2/BasePlayer.java | 2 +- .../android/exoplayer2/trackselection/DefaultTrackSelector.java | 2 +- .../google/android/exoplayer2/video/spherical/Projection.java | 2 +- .../android/exoplayer2/testutil/DataSourceContractTest.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library/common/src/main/java/com/google/android/exoplayer2/BasePlayer.java b/library/common/src/main/java/com/google/android/exoplayer2/BasePlayer.java index 8b283a391f..397b804ebf 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/BasePlayer.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/BasePlayer.java @@ -92,7 +92,7 @@ public abstract class BasePlayer implements Player { /** * {@inheritDoc} * - *

BasePlayer and its descendents will return {@code true}. + *

BasePlayer and its descendants will return {@code true}. */ @Override public final boolean canAdvertiseSession() { diff --git a/library/core/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java b/library/core/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java index b2df19909e..c677457c6a 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java @@ -649,7 +649,7 @@ public class DefaultTrackSelector extends MappingTrackSelector { * supported by the audio and video renderers for the selected tracks. * *

Tunneling is known to have many device specific issues and limitations. Manual testing is - * strongly recomended to check that the media plays correctly when this option is enabled. See + * strongly recommended to check that the media plays correctly when this option is enabled. See * [#9661](https://github.com/google/ExoPlayer/issues/9661), * [#9133](https://github.com/google/ExoPlayer/issues/9133), * [#9317](https://github.com/google/ExoPlayer/issues/9317), diff --git a/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/Projection.java b/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/Projection.java index 478a86102c..285288fc90 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/Projection.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/video/spherical/Projection.java @@ -113,7 +113,7 @@ import java.lang.annotation.Target; for (int i = 0; i < longitudes + 1; ++i) { // For each vertical edge in the band. for (int k = 0; k < 2; ++k) { // For low and high points on an edge. - // For each point, determine it's position in polar coordinates. + // For each point, determine its position in polar coordinates. float phi = k == 0 ? phiLow : phiHigh; float theta = quadWidthRads * i + (float) Math.PI - horizontalFovRads / 2; diff --git a/testutils/src/main/java/com/google/android/exoplayer2/testutil/DataSourceContractTest.java b/testutils/src/main/java/com/google/android/exoplayer2/testutil/DataSourceContractTest.java index 0202a4e533..255ea1c033 100644 --- a/testutils/src/main/java/com/google/android/exoplayer2/testutil/DataSourceContractTest.java +++ b/testutils/src/main/java/com/google/android/exoplayer2/testutil/DataSourceContractTest.java @@ -63,7 +63,7 @@ import org.mockito.Mockito; * *

Most implementations should pass all these tests. If necessary, subclasses can disable tests * by overriding the {@link Test @Test} method with a no-op implementation. It's recommended (but - * not required) to also annotate this {@link Ignore @Ignore} so that JUnit correclty reports the + * not required) to also annotate this {@link Ignore @Ignore} so that JUnit correctly reports the * test as skipped/ignored instead of passing. */ @RequiresApi(19)