mirror of
https://github.com/androidx/media.git
synced 2025-05-16 12:09:50 +08:00
Remove @Beta comments that should have been removed in 0a016b59f7
PiperOrigin-RevId: 590940876
This commit is contained in:
parent
97e9ed3f7b
commit
7399b7c5ce
@ -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.
|
* @param roundingMode The rounding mode to use if the result of the division is not an integer.
|
||||||
* @return The scaled value.
|
* @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
|
@UnstableApi
|
||||||
public static long scaleLargeValue(
|
public static long scaleLargeValue(
|
||||||
long value, long multiplier, long divisor, RoundingMode roundingMode) {
|
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.
|
* @param roundingMode The rounding mode to use if the result of the division is not an integer.
|
||||||
* @return The scaled values.
|
* @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
|
@UnstableApi
|
||||||
public static long[] scaleLargeValues(
|
public static long[] scaleLargeValues(
|
||||||
List<Long> values, long multiplier, long divisor, RoundingMode roundingMode) {
|
List<Long> values, long multiplier, long divisor, RoundingMode roundingMode) {
|
||||||
@ -1833,9 +1827,6 @@ public final class Util {
|
|||||||
* <p>This implementation should be used after simpler simplifying efforts have failed (such as
|
* <p>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}).
|
* 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(
|
private static long scaleLargeValueFallback(
|
||||||
long value, long multiplier, long divisor, RoundingMode roundingMode) {
|
long value, long multiplier, long divisor, RoundingMode roundingMode) {
|
||||||
long numerator = LongMath.saturatedMultiply(value, multiplier);
|
long numerator = LongMath.saturatedMultiply(value, multiplier);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user