From 7399b7c5ceb6fa8cfdee498ef60c2c5aea70c4a3 Mon Sep 17 00:00:00 2001 From: ibaker Date: Thu, 14 Dec 2023 08:01:24 -0800 Subject: [PATCH] Remove @Beta comments that should have been removed in https://github.com/androidx/media/commit/0a016b59f76205b622b6019b630787af808ea93a PiperOrigin-RevId: 590940876 --- .../src/main/java/androidx/media3/common/util/Util.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libraries/common/src/main/java/androidx/media3/common/util/Util.java b/libraries/common/src/main/java/androidx/media3/common/util/Util.java index 27ee099eb9..3622547344 100644 --- a/libraries/common/src/main/java/androidx/media3/common/util/Util.java +++ b/libraries/common/src/main/java/androidx/media3/common/util/Util.java @@ -1696,9 +1696,6 @@ public final class Util { * @param roundingMode The rounding mode to use if the result of the division is not an integer. * @return The scaled value. */ - // LongMath.saturatedMultiply is @Beta in the version of Guava we currently depend on (31.1) - // but it is no longer @Beta from 32.0.0. This suppression is therefore safe because there's - // no version of Guava after 31.1 that doesn't contain this symbol. @UnstableApi public static long scaleLargeValue( long value, long multiplier, long divisor, RoundingMode roundingMode) { @@ -1731,9 +1728,6 @@ public final class Util { * @param roundingMode The rounding mode to use if the result of the division is not an integer. * @return The scaled values. */ - // LongMath.saturatedMultiply is @Beta in the version of Guava we currently depend on (31.1) - // but it is no longer @Beta from 32.0.0. This suppression is therefore safe because there's - // no version of Guava after 31.1 that doesn't contain this symbol. @UnstableApi public static long[] scaleLargeValues( List values, long multiplier, long divisor, RoundingMode roundingMode) { @@ -1833,9 +1827,6 @@ public final class Util { *

This implementation should be used after simpler simplifying efforts have failed (such as * checking if {@code value} or {@code multiplier} are exact multiples of {@code divisor}). */ - // LongMath.saturatedMultiply is @Beta in the version of Guava we currently depend on (31.1) - // but it is no longer @Beta from 32.0.0. This suppression is therefore safe because there's - // no version of Guava after 31.1 that doesn't contain this symbol. private static long scaleLargeValueFallback( long value, long multiplier, long divisor, RoundingMode roundingMode) { long numerator = LongMath.saturatedMultiply(value, multiplier);