Skip to content

Commit b3d4856

Browse files
klueverGoogle Java Core Libraries
authored and
Google Java Core Libraries
committedApr 10, 2023
Remove @Beta from Longs.tryParse(...) (and friends).
Fixes #6020 RELNOTES=`primitives`: Removed `@Beta` from `Longs.tryParse(...)` (and friends). PiperOrigin-RevId: 523143161
1 parent df0081f commit b3d4856

File tree

8 files changed

+0
-12
lines changed

8 files changed

+0
-12
lines changed
 

‎android/guava/src/com/google/common/primitives/Doubles.java

-1
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,6 @@ public String toString() {
753753
* @throws NullPointerException if {@code string} is {@code null}
754754
* @since 14.0
755755
*/
756-
@Beta
757756
@GwtIncompatible // regular expressions
758757
@CheckForNull
759758
public static Double tryParse(String string) {

‎android/guava/src/com/google/common/primitives/Floats.java

-1
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,6 @@ float[] toFloatArray() {
712712
* @throws NullPointerException if {@code string} is {@code null}
713713
* @since 14.0
714714
*/
715-
@Beta
716715
@GwtIncompatible // regular expressions
717716
@CheckForNull
718717
public static Float tryParse(String string) {

‎android/guava/src/com/google/common/primitives/Ints.java

-2
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,6 @@ int[] toIntArray() {
784784
* @throws NullPointerException if {@code string} is {@code null}
785785
* @since 11.0
786786
*/
787-
@Beta
788787
@CheckForNull
789788
public static Integer tryParse(String string) {
790789
return tryParse(string, 10);
@@ -810,7 +809,6 @@ public static Integer tryParse(String string) {
810809
* @throws NullPointerException if {@code string} is {@code null}
811810
* @since 19.0
812811
*/
813-
@Beta
814812
@CheckForNull
815813
public static Integer tryParse(String string, int radix) {
816814
Long result = Longs.tryParse(string, radix);

‎android/guava/src/com/google/common/primitives/Longs.java

-2
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,6 @@ static int digit(char c) {
361361
* @throws NullPointerException if {@code string} is {@code null}
362362
* @since 14.0
363363
*/
364-
@Beta
365364
@CheckForNull
366365
public static Long tryParse(String string) {
367366
return tryParse(string, 10);
@@ -387,7 +386,6 @@ public static Long tryParse(String string) {
387386
* @throws NullPointerException if {@code string} is {@code null}
388387
* @since 19.0
389388
*/
390-
@Beta
391389
@CheckForNull
392390
public static Long tryParse(String string, int radix) {
393391
if (checkNotNull(string).isEmpty()) {

‎guava/src/com/google/common/primitives/Doubles.java

-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,6 @@ public String toString() {
760760
* @throws NullPointerException if {@code string} is {@code null}
761761
* @since 14.0
762762
*/
763-
@Beta
764763
@GwtIncompatible // regular expressions
765764
@CheckForNull
766765
public static Double tryParse(String string) {

‎guava/src/com/google/common/primitives/Floats.java

-1
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,6 @@ float[] toFloatArray() {
712712
* @throws NullPointerException if {@code string} is {@code null}
713713
* @since 14.0
714714
*/
715-
@Beta
716715
@GwtIncompatible // regular expressions
717716
@CheckForNull
718717
public static Float tryParse(String string) {

‎guava/src/com/google/common/primitives/Ints.java

-2
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,6 @@ int[] toIntArray() {
791791
* @throws NullPointerException if {@code string} is {@code null}
792792
* @since 11.0
793793
*/
794-
@Beta
795794
@CheckForNull
796795
public static Integer tryParse(String string) {
797796
return tryParse(string, 10);
@@ -817,7 +816,6 @@ public static Integer tryParse(String string) {
817816
* @throws NullPointerException if {@code string} is {@code null}
818817
* @since 19.0
819818
*/
820-
@Beta
821819
@CheckForNull
822820
public static Integer tryParse(String string, int radix) {
823821
Long result = Longs.tryParse(string, radix);

‎guava/src/com/google/common/primitives/Longs.java

-2
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ static int digit(char c) {
363363
* @throws NullPointerException if {@code string} is {@code null}
364364
* @since 14.0
365365
*/
366-
@Beta
367366
@CheckForNull
368367
public static Long tryParse(String string) {
369368
return tryParse(string, 10);
@@ -389,7 +388,6 @@ public static Long tryParse(String string) {
389388
* @throws NullPointerException if {@code string} is {@code null}
390389
* @since 19.0
391390
*/
392-
@Beta
393391
@CheckForNull
394392
public static Long tryParse(String string, int radix) {
395393
if (checkNotNull(string).isEmpty()) {

0 commit comments

Comments
 (0)