Skip to content
Permalink
Browse files

Prepare for release 28.0.

RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=252665595
  • Loading branch information...
cgdecker committed Jun 11, 2019
1 parent 554ca09 commit bf9e8fa954bd76fd6642445fa644c729f91f30f2
Showing with 82 additions and 82 deletions.
  1. +5 −5 README.md
  2. +1 −1 android/guava/src/com/google/common/graph/GraphBuilder.java
  3. +1 −1 android/guava/src/com/google/common/graph/ImmutableGraph.java
  4. +1 −1 android/guava/src/com/google/common/graph/ImmutableNetwork.java
  5. +1 −1 android/guava/src/com/google/common/graph/ImmutableValueGraph.java
  6. +1 −1 android/guava/src/com/google/common/graph/NetworkBuilder.java
  7. +1 −1 android/guava/src/com/google/common/graph/ValueGraphBuilder.java
  8. +10 −10 android/guava/src/com/google/common/net/HttpHeaders.java
  9. +1 −1 android/guava/src/com/google/common/net/MediaType.java
  10. +1 −1 android/guava/src/com/google/common/util/concurrent/FluentFuture.java
  11. +2 −2 guava-testlib/src/com/google/common/testing/FakeTicker.java
  12. +2 −2 guava/src/com/google/common/collect/Queues.java
  13. +1 −1 guava/src/com/google/common/graph/GraphBuilder.java
  14. +1 −1 guava/src/com/google/common/graph/ImmutableGraph.java
  15. +1 −1 guava/src/com/google/common/graph/ImmutableNetwork.java
  16. +1 −1 guava/src/com/google/common/graph/ImmutableValueGraph.java
  17. +1 −1 guava/src/com/google/common/graph/NetworkBuilder.java
  18. +1 −1 guava/src/com/google/common/graph/ValueGraphBuilder.java
  19. +10 −10 guava/src/com/google/common/net/HttpHeaders.java
  20. +1 −1 guava/src/com/google/common/net/MediaType.java
  21. +2 −2 guava/src/com/google/common/util/concurrent/AbstractScheduledService.java
  22. +2 −2 guava/src/com/google/common/util/concurrent/FluentFuture.java
  23. +3 −3 guava/src/com/google/common/util/concurrent/Futures.java
  24. +8 −8 guava/src/com/google/common/util/concurrent/Monitor.java
  25. +4 −4 guava/src/com/google/common/util/concurrent/MoreExecutors.java
  26. +3 −3 guava/src/com/google/common/util/concurrent/RateLimiter.java
  27. +2 −2 guava/src/com/google/common/util/concurrent/Service.java
  28. +2 −2 guava/src/com/google/common/util/concurrent/ServiceManager.java
  29. +5 −5 guava/src/com/google/common/util/concurrent/TimeLimiter.java
  30. +7 −7 guava/src/com/google/common/util/concurrent/Uninterruptibles.java
@@ -22,7 +22,7 @@ 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 Java 7 or by any library that wants to be compatible with
either of those. These flavors are specified in the Maven version field as
either `27.1-jre` or `27.1-android`. For more about depending on
either `28.0-jre` or `28.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:
@@ -31,19 +31,19 @@ To add a dependency on Guava using Maven, use the following:
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>27.1-jre</version>
<version>28.0-jre</version>
<!-- or, for Android: -->
<version>27.1-android</version>
<version>28.0-android</version>
</dependency>
```

To add a dependency using Gradle:

```gradle
dependencies {
compile 'com.google.guava:guava:27.1-jre'
compile 'com.google.guava:guava:28.0-jre'
// or, for Android:
api 'com.google.guava:guava:27.1-android'
api 'com.google.guava:guava:28.0-android'
}
```

@@ -96,7 +96,7 @@ private GraphBuilder(boolean directed) {
*
* <p>The returned builder can be used for populating an {@link ImmutableGraph}.
*
* @since NEXT
* @since 28.0
*/
public <N1 extends N> ImmutableGraph.Builder<N1> immutable() {
GraphBuilder<N1> castBuilder = cast();
@@ -117,7 +117,7 @@
* multiple graphs in series. Each new graph contains all the elements of the ones created before
* it.
*
* @since NEXT
* @since 28.0
*/
public static class Builder<N> {

@@ -162,7 +162,7 @@ public N apply(E edge) {
* multiple networks in series. Each new network contains all the elements of the ones created
* before it.
*
* @since NEXT
* @since 28.0
*/
public static class Builder<N, E> {

@@ -118,7 +118,7 @@ public V apply(N successorNode) {
* multiple graphs in series. Each new graph contains all the elements of the ones created before
* it.
*
* @since NEXT
* @since 28.0
*/
public static class Builder<N, V> {

@@ -108,7 +108,7 @@ private NetworkBuilder(boolean directed) {
*
* <p>The returned builder can be used for populating an {@link ImmutableNetwork}.
*
* @since NEXT
* @since 28.0
*/
public <N1 extends N, E1 extends E> ImmutableNetwork.Builder<N1, E1> immutable() {
NetworkBuilder<N1, E1> castBuilder = cast();
@@ -102,7 +102,7 @@ private ValueGraphBuilder(boolean directed) {
*
* <p>The returned builder can be used for populating an {@link ImmutableValueGraph}.
*
* @since NEXT
* @since 28.0
*/
public <N1 extends N, V1 extends V> ImmutableValueGraph.Builder<N1, V1> immutable() {
ValueGraphBuilder<N1, V1> castBuilder = cast();
@@ -77,7 +77,7 @@ private HttpHeaders() {}
* The HTTP <a href="https://fetch.spec.whatwg.org/#cross-origin-resource-policy-header">{@code
* Cross-Origin-Resource-Policy}</a> header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String CROSS_ORIGIN_RESOURCE_POLICY = "Cross-Origin-Resource-Policy";
/**
@@ -423,23 +423,23 @@ private ReferrerPolicyValues() {}
* href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Link_prefetching_FAQ#As_a_server_admin.2C_can_I_distinguish_prefetch_requests_from_normal_requests.3F">{@code
* Purpose}</a> header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String PURPOSE = "Purpose";
/**
* The HTTP <a
* href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Link_prefetching_FAQ#As_a_server_admin.2C_can_I_distinguish_prefetch_requests_from_normal_requests.3F">{@code
* X-Purpose}</a> header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String X_PURPOSE = "X-Purpose";
/**
* The HTTP <a
* href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Link_prefetching_FAQ#As_a_server_admin.2C_can_I_distinguish_prefetch_requests_from_normal_requests.3F">{@code
* X-Moz}</a> header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String X_MOZ = "X-Moz";

@@ -503,41 +503,41 @@ private ReferrerPolicyValues() {}
* The HTTP <a href="https://tools.ietf.org/html/rfc6455">{@code Sec-WebSocket-Accept}</a> header
* field name.
*
* @since NEXT
* @since 28.0
*/
public static final String SEC_WEBSOCKET_ACCEPT = "Sec-WebSocket-Accept";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc6455">{@code Sec-WebSocket-Extensions}</a>
* header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String SEC_WEBSOCKET_EXTENSIONS = "Sec-WebSocket-Extensions";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc6455">{@code Sec-WebSocket-Key}</a> header
* field name.
*
* @since NEXT
* @since 28.0
*/
public static final String SEC_WEBSOCKET_KEY = "Sec-WebSocket-Key";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc6455">{@code Sec-WebSocket-Protocol}</a>
* header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String SEC_WEBSOCKET_PROTOCOL = "Sec-WebSocket-Protocol";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc6455">{@code Sec-WebSocket-Version}</a> header
* field name.
*
* @since NEXT
* @since 28.0
*/
public static final String SEC_WEBSOCKET_VERSION = "Sec-WebSocket-Version";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc8586">{@code CDN-Loop}</a> header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String CDN_LOOP = "CDN-Loop";
}
@@ -430,7 +430,7 @@ private static MediaType addKnownType(MediaType mediaType) {
* Media type for the <a href="https://tools.ietf.org/html/rfc7946">GeoJSON Format</a>, a
* geospatial data interchange format based on JSON.
*
* @since NEXT
* @since 28.0
*/
public static final MediaType GEO_JSON = createConstant(APPLICATION_TYPE, "geo+json");

@@ -132,7 +132,7 @@ public final boolean cancel(boolean mayInterruptIfRunning) {
* Simply returns its argument.
*
* @deprecated no need to use this
* @since NEXT
* @since 28.0
*/
@Deprecated
public static <V> FluentFuture<V> from(FluentFuture<V> future) {
@@ -59,7 +59,7 @@ public FakeTicker advance(long nanoseconds) {
/**
* Advances the ticker value by {@code duration}.
*
* @since NEXT
* @since 28.0
*/
@GwtIncompatible
public FakeTicker advance(java.time.Duration duration) {
@@ -85,7 +85,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
* @since 28.0
*/
@GwtIncompatible
public FakeTicker setAutoIncrementStep(java.time.Duration autoIncrementStep) {
@@ -262,7 +262,7 @@ private Queues() {}
* @param timeout how long to wait before giving up
* @return the number of elements transferred
* @throws InterruptedException if interrupted while waiting
* @since NEXT
* @since 28.0
*/
@Beta
@CanIgnoreReturnValue
@@ -332,7 +332,7 @@ private Queues() {}
* @param numElements the number of elements to be waited for
* @param timeout how long to wait before giving up
* @return the number of elements transferred
* @since NEXT
* @since 28.0
*/
@Beta
@CanIgnoreReturnValue
@@ -96,7 +96,7 @@ private GraphBuilder(boolean directed) {
*
* <p>The returned builder can be used for populating an {@link ImmutableGraph}.
*
* @since NEXT
* @since 28.0
*/
public <N1 extends N> ImmutableGraph.Builder<N1> immutable() {
GraphBuilder<N1> castBuilder = cast();
@@ -117,7 +117,7 @@
* multiple graphs in series. Each new graph contains all the elements of the ones created before
* it.
*
* @since NEXT
* @since 28.0
*/
public static class Builder<N> {

@@ -162,7 +162,7 @@ public N apply(E edge) {
* multiple networks in series. Each new network contains all the elements of the ones created
* before it.
*
* @since NEXT
* @since 28.0
*/
public static class Builder<N, E> {

@@ -118,7 +118,7 @@ public V apply(N successorNode) {
* multiple graphs in series. Each new graph contains all the elements of the ones created before
* it.
*
* @since NEXT
* @since 28.0
*/
public static class Builder<N, V> {

@@ -108,7 +108,7 @@ private NetworkBuilder(boolean directed) {
*
* <p>The returned builder can be used for populating an {@link ImmutableNetwork}.
*
* @since NEXT
* @since 28.0
*/
public <N1 extends N, E1 extends E> ImmutableNetwork.Builder<N1, E1> immutable() {
NetworkBuilder<N1, E1> castBuilder = cast();
@@ -102,7 +102,7 @@ private ValueGraphBuilder(boolean directed) {
*
* <p>The returned builder can be used for populating an {@link ImmutableValueGraph}.
*
* @since NEXT
* @since 28.0
*/
public <N1 extends N, V1 extends V> ImmutableValueGraph.Builder<N1, V1> immutable() {
ValueGraphBuilder<N1, V1> castBuilder = cast();
@@ -77,7 +77,7 @@ private HttpHeaders() {}
* The HTTP <a href="https://fetch.spec.whatwg.org/#cross-origin-resource-policy-header">{@code
* Cross-Origin-Resource-Policy}</a> header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String CROSS_ORIGIN_RESOURCE_POLICY = "Cross-Origin-Resource-Policy";
/**
@@ -423,23 +423,23 @@ private ReferrerPolicyValues() {}
* href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Link_prefetching_FAQ#As_a_server_admin.2C_can_I_distinguish_prefetch_requests_from_normal_requests.3F">{@code
* Purpose}</a> header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String PURPOSE = "Purpose";
/**
* The HTTP <a
* href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Link_prefetching_FAQ#As_a_server_admin.2C_can_I_distinguish_prefetch_requests_from_normal_requests.3F">{@code
* X-Purpose}</a> header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String X_PURPOSE = "X-Purpose";
/**
* The HTTP <a
* href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Link_prefetching_FAQ#As_a_server_admin.2C_can_I_distinguish_prefetch_requests_from_normal_requests.3F">{@code
* X-Moz}</a> header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String X_MOZ = "X-Moz";

@@ -503,41 +503,41 @@ private ReferrerPolicyValues() {}
* The HTTP <a href="https://tools.ietf.org/html/rfc6455">{@code Sec-WebSocket-Accept}</a> header
* field name.
*
* @since NEXT
* @since 28.0
*/
public static final String SEC_WEBSOCKET_ACCEPT = "Sec-WebSocket-Accept";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc6455">{@code Sec-WebSocket-Extensions}</a>
* header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String SEC_WEBSOCKET_EXTENSIONS = "Sec-WebSocket-Extensions";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc6455">{@code Sec-WebSocket-Key}</a> header
* field name.
*
* @since NEXT
* @since 28.0
*/
public static final String SEC_WEBSOCKET_KEY = "Sec-WebSocket-Key";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc6455">{@code Sec-WebSocket-Protocol}</a>
* header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String SEC_WEBSOCKET_PROTOCOL = "Sec-WebSocket-Protocol";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc6455">{@code Sec-WebSocket-Version}</a> header
* field name.
*
* @since NEXT
* @since 28.0
*/
public static final String SEC_WEBSOCKET_VERSION = "Sec-WebSocket-Version";
/**
* The HTTP <a href="https://tools.ietf.org/html/rfc8586">{@code CDN-Loop}</a> header field name.
*
* @since NEXT
* @since 28.0
*/
public static final String CDN_LOOP = "CDN-Loop";
}
@@ -430,7 +430,7 @@ private static MediaType addKnownType(MediaType mediaType) {
* Media type for the <a href="https://tools.ietf.org/html/rfc7946">GeoJSON Format</a>, a
* geospatial data interchange format based on JSON.
*
* @since NEXT
* @since 28.0
*/
public static final MediaType GEO_JSON = createConstant(APPLICATION_TYPE, "geo+json");

@@ -122,7 +122,7 @@
* @param initialDelay the time to delay first execution
* @param delay the delay between the termination of one execution and the commencement of the
* next
* @since NEXT
* @since 28.0
*/
public static Scheduler newFixedDelaySchedule(Duration initialDelay, Duration delay) {
return newFixedDelaySchedule(
@@ -158,7 +158,7 @@ public static Scheduler newFixedDelaySchedule(
*
* @param initialDelay the time to delay first execution
* @param period the period between successive executions of the task
* @since NEXT
* @since 28.0
*/
public static Scheduler newFixedRateSchedule(Duration initialDelay, Duration period) {
return newFixedRateSchedule(

0 comments on commit bf9e8fa

Please sign in to comment.
You can’t perform that action at this time.