Skip to content

Commit

Permalink
Remove @Beta from Interner and Interners.
Browse files Browse the repository at this point in the history
They have been public since 2010. Realistically, we are not going to make incompatible API changes to them.

Fixes #5594.

RELNOTES=`Interner` and `Interners` are no longer `@Beta` but are fully supported.
PiperOrigin-RevId: 379363216
  • Loading branch information
eamonnmcmanus authored and Google Java Core Libraries committed Jun 14, 2021
1 parent 7505107 commit cf31f3a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions android/guava/src/com/google/common/collect/Interner.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.common.collect;

import com.google.common.annotations.Beta;
import com.google.common.annotations.GwtIncompatible;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import com.google.errorprone.annotations.DoNotMock;
Expand All @@ -32,7 +31,6 @@
* @author Kevin Bourrillion
* @since 3.0
*/
@Beta
@DoNotMock("Use Interners.new*Interner")
@GwtIncompatible
public interface Interner<E> {
Expand Down
2 changes: 0 additions & 2 deletions android/guava/src/com/google/common/collect/Interners.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import static com.google.common.base.Preconditions.checkNotNull;

import com.google.common.annotations.Beta;
import com.google.common.annotations.GwtIncompatible;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Equivalence;
Expand All @@ -30,7 +29,6 @@
* @author Kevin Bourrillion
* @since 3.0
*/
@Beta
@GwtIncompatible
public final class Interners {
private Interners() {}
Expand Down
2 changes: 0 additions & 2 deletions guava/src/com/google/common/collect/Interner.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.common.collect;

import com.google.common.annotations.Beta;
import com.google.common.annotations.GwtIncompatible;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import com.google.errorprone.annotations.DoNotMock;
Expand All @@ -32,7 +31,6 @@
* @author Kevin Bourrillion
* @since 3.0
*/
@Beta
@DoNotMock("Use Interners.new*Interner")
@GwtIncompatible
public interface Interner<E> {
Expand Down
2 changes: 0 additions & 2 deletions guava/src/com/google/common/collect/Interners.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import static com.google.common.base.Preconditions.checkNotNull;

import com.google.common.annotations.Beta;
import com.google.common.annotations.GwtIncompatible;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Equivalence;
Expand All @@ -30,7 +29,6 @@
* @author Kevin Bourrillion
* @since 3.0
*/
@Beta
@GwtIncompatible
public final class Interners {
private Interners() {}
Expand Down

0 comments on commit cf31f3a

Please sign in to comment.