From 2be0834eafed9dd7ce94d60c581a0d3ee3e582f0 Mon Sep 17 00:00:00 2001 From: Kqliber Date: Thu, 21 Apr 2022 20:20:40 +0100 Subject: [PATCH] remove @Beta annotations from tryParse methods --- guava/src/com/google/common/primitives/Ints.java | 2 -- guava/src/com/google/common/primitives/Longs.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/guava/src/com/google/common/primitives/Ints.java b/guava/src/com/google/common/primitives/Ints.java index b63b0f946e7f..bab7a8aa369b 100644 --- a/guava/src/com/google/common/primitives/Ints.java +++ b/guava/src/com/google/common/primitives/Ints.java @@ -713,7 +713,6 @@ int[] toIntArray() { * @throws NullPointerException if {@code string} is {@code null} * @since 11.0 */ - @Beta @CheckForNull public static Integer tryParse(String string) { return tryParse(string, 10); @@ -739,7 +738,6 @@ public static Integer tryParse(String string) { * @throws NullPointerException if {@code string} is {@code null} * @since 19.0 */ - @Beta @CheckForNull public static Integer tryParse(String string, int radix) { Long result = Longs.tryParse(string, radix); diff --git a/guava/src/com/google/common/primitives/Longs.java b/guava/src/com/google/common/primitives/Longs.java index 98c055e27ac3..d0b2ec4055fb 100644 --- a/guava/src/com/google/common/primitives/Longs.java +++ b/guava/src/com/google/common/primitives/Longs.java @@ -363,7 +363,6 @@ static int digit(char c) { * @throws NullPointerException if {@code string} is {@code null} * @since 14.0 */ - @Beta @CheckForNull public static Long tryParse(String string) { return tryParse(string, 10); @@ -389,7 +388,6 @@ public static Long tryParse(String string) { * @throws NullPointerException if {@code string} is {@code null} * @since 19.0 */ - @Beta @CheckForNull public static Long tryParse(String string, int radix) { if (checkNotNull(string).isEmpty()) {