Skip to content

Commit

Permalink
Prepare for release 33.1.0.
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 615482195
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Mar 13, 2024
1 parent fe28211 commit cc2e372
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Guava comes in two flavors:
Guava's Maven group ID is `com.google.guava`, and its artifact ID is `guava`.
Guava provides two different "flavors": one for use on a (Java 8+) JRE and one
for use on Android or by any library that wants to be compatible with Android.
These flavors are specified in the Maven version field as either `33.0.0-jre` or
`33.0.0-android`. For more about depending on Guava, see
These flavors are specified in the Maven version field as either `33.1.0-jre` or
`33.1.0-android`. For more about depending on Guava, see
[using Guava in your build].

To add a dependency on Guava using Maven, use the following:
Expand All @@ -38,9 +38,9 @@ To add a dependency on Guava using Maven, use the following:
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.0.0-jre</version>
<version>33.1.0-jre</version>
<!-- or, for Android: -->
<version>33.0.0-android</version>
<version>33.1.0-android</version>
</dependency>
```

Expand All @@ -51,16 +51,16 @@ dependencies {
// Pick one:
// 1. Use Guava in your implementation only:
implementation("com.google.guava:guava:33.0.0-jre")
implementation("com.google.guava:guava:33.1.0-jre")
// 2. Use Guava types in your public API:
api("com.google.guava:guava:33.0.0-jre")
api("com.google.guava:guava:33.1.0-jre")
// 3. Android - Use Guava in your implementation only:
implementation("com.google.guava:guava:33.0.0-android")
implementation("com.google.guava:guava:33.1.0-android")
// 4. Android - Use Guava types in your public API:
api("com.google.guava:guava:33.0.0-android")
api("com.google.guava:guava:33.1.0-android")
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public FakeTicker advance(long nanoseconds) {
/**
* Advances the ticker value by {@code duration}.
*
* @since NEXT (but since 28.0 in the JRE <a
* @since 33.1.0 (but since 28.0 in the JRE <a
* href="https://github.com/google/guava#guava-google-core-libraries-for-java">flavor</a>)
*/
@GwtIncompatible
Expand Down Expand Up @@ -97,7 +97,7 @@ public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit
* <p>The default behavior is to auto increment by zero. i.e: The ticker is left unchanged when
* queried.
*
* @since NEXT (but since 28.0 in the JRE <a
* @since 33.1.0 (but since 28.0 in the JRE <a
* href="https://github.com/google/guava#guava-google-core-libraries-for-java">flavor</a>)
*/
@GwtIncompatible
Expand Down
2 changes: 1 addition & 1 deletion android/guava/src/com/google/common/base/Suppliers.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public String toString() {
* @param duration the length of time after a value is created that it should stop being returned
* by subsequent {@code get()} calls
* @throws IllegalArgumentException if {@code duration} is not positive
* @since NEXT
* @since 33.1.0
*/
@Beta // only until we're confident that Java 8+ APIs are safe for our Android users
@J2ktIncompatible
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public String toString() {
* Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given edge is
* not present in this network.
*
* @since NEXT
* @since 33.1.0
*/
protected final <T> Set<T> edgeInvalidatableSet(Set<T> set, E edge) {
return InvalidatableSet.of(
Expand All @@ -293,7 +293,7 @@ protected final <T> Set<T> edgeInvalidatableSet(Set<T> set, E edge) {
* Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given node is
* not present in this network.
*
* @since NEXT
* @since 33.1.0
*/
protected final <T> Set<T> nodeInvalidatableSet(Set<T> set, N node) {
return InvalidatableSet.of(
Expand All @@ -304,7 +304,7 @@ protected final <T> Set<T> nodeInvalidatableSet(Set<T> set, N node) {
* Returns a {@link Set} whose methods throw {@link IllegalStateException} when either of the
* given nodes is not present in this network.
*
* @since NEXT
* @since 33.1.0
*/
protected final <T> Set<T> nodePairInvalidatableSet(Set<T> set, N nodeU, N nodeV) {
return InvalidatableSet.of(
Expand Down
4 changes: 2 additions & 2 deletions android/guava/src/com/google/common/graph/Graphs.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private static boolean canTraverseWithoutReusingEdge(
* of the transitive closure of {@code graph}. In other words, the returned {@link Graph} will not
* be updated after modifications to {@code graph}.
*
* @since NEXT (present with return type {@code Graph} since 20.0)
* @since 33.1.0 (present with return type {@code Graph} since 20.0)
*/
// TODO(b/31438252): Consider potential optimizations for this algorithm.
public static <N> ImmutableGraph<N> transitiveClosure(Graph<N> graph) {
Expand Down Expand Up @@ -194,7 +194,7 @@ public static <N> ImmutableGraph<N> transitiveClosure(Graph<N> graph) {
* not be updated after modifications to {@code graph}.
*
* @throws IllegalArgumentException if {@code node} is not present in {@code graph}
* @since NEXT (present with return type {@code Set} since 20.0)
* @since 33.1.0 (present with return type {@code Set} since 20.0)
*/
public static <N> ImmutableSet<N> reachableNodes(Graph<N> graph, N node) {
checkArgument(graph.nodes().contains(node), NODE_NOT_IN_GRAPH, node);
Expand Down
4 changes: 2 additions & 2 deletions guava-testlib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To add a dependency on Guava testlib using Maven, use the following:
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava-testlib</artifactId>
<version>33.0.0-jre</version>
<version>33.1.0-jre</version>
<scope>test</scope>
</dependency>
```
Expand All @@ -22,7 +22,7 @@ To add a dependency using Gradle:

```gradle
dependencies {
test 'com.google.guava:guava-testlib:33.0.0-jre'
test 'com.google.guava:guava-testlib:33.1.0-jre'
}
```

Expand Down
2 changes: 1 addition & 1 deletion guava/src/com/google/common/base/Suppliers.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public String toString() {
* @param duration the length of time after a value is created that it should stop being returned
* by subsequent {@code get()} calls
* @throws IllegalArgumentException if {@code duration} is not positive
* @since NEXT
* @since 33.1.0
*/
@Beta // only until we're confident that Java 8+ APIs are safe for our Android users
@J2ktIncompatible
Expand Down
6 changes: 3 additions & 3 deletions guava/src/com/google/common/graph/AbstractNetwork.java
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public String toString() {
* Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given edge is
* not present in this network.
*
* @since NEXT
* @since 33.1.0
*/
protected final <T> Set<T> edgeInvalidatableSet(Set<T> set, E edge) {
return InvalidatableSet.of(
Expand All @@ -305,7 +305,7 @@ protected final <T> Set<T> edgeInvalidatableSet(Set<T> set, E edge) {
* Returns a {@link Set} whose methods throw {@link IllegalStateException} when the given node is
* not present in this network.
*
* @since NEXT
* @since 33.1.0
*/
protected final <T> Set<T> nodeInvalidatableSet(Set<T> set, N node) {
return InvalidatableSet.of(
Expand All @@ -316,7 +316,7 @@ protected final <T> Set<T> nodeInvalidatableSet(Set<T> set, N node) {
* Returns a {@link Set} whose methods throw {@link IllegalStateException} when either of the
* given nodes is not present in this network.
*
* @since NEXT
* @since 33.1.0
*/
protected final <T> Set<T> nodePairInvalidatableSet(Set<T> set, N nodeU, N nodeV) {
return InvalidatableSet.of(
Expand Down
4 changes: 2 additions & 2 deletions guava/src/com/google/common/graph/Graphs.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private static boolean canTraverseWithoutReusingEdge(
* of the transitive closure of {@code graph}. In other words, the returned {@link Graph} will not
* be updated after modifications to {@code graph}.
*
* @since NEXT (present with return type {@code Graph} since 20.0)
* @since 33.1.0 (present with return type {@code Graph} since 20.0)
*/
// TODO(b/31438252): Consider potential optimizations for this algorithm.
public static <N> ImmutableGraph<N> transitiveClosure(Graph<N> graph) {
Expand Down Expand Up @@ -195,7 +195,7 @@ public static <N> ImmutableGraph<N> transitiveClosure(Graph<N> graph) {
* not be updated after modifications to {@code graph}.
*
* @throws IllegalArgumentException if {@code node} is not present in {@code graph}
* @since NEXT (present with return type {@code Set} since 20.0)
* @since 33.1.0 (present with return type {@code Set} since 20.0)
*/
public static <N> ImmutableSet<N> reachableNodes(Graph<N> graph, N node) {
checkArgument(graph.nodes().contains(node), NODE_NOT_IN_GRAPH, node);
Expand Down

0 comments on commit cc2e372

Please sign in to comment.