Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove @Beta annotations from tryParse methods #6020

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions guava/src/com/google/common/primitives/Ints.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions guava/src/com/google/common/primitives/Longs.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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()) {
Expand Down