Skip to content

Commit

Permalink
Prepare for release 27.1.
Browse files Browse the repository at this point in the history
RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=237291180
  • Loading branch information
cgdecker committed Mar 7, 2019
1 parent 2fabbea commit 8e174e7
Show file tree
Hide file tree
Showing 19 changed files with 51 additions and 51 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.0.1-jre` or `27.0.1-android`. For more about depending on
either `27.1-jre` or `27.1-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 @@ -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.0.1-jre</version>
<version>27.1-jre</version>
<!-- or, for Android: -->
<version>27.0.1-android</version>
<version>27.1-android</version>
</dependency>
```

To add a dependency using Gradle:

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

Expand Down
2 changes: 1 addition & 1 deletion android/guava/src/com/google/common/graph/BaseGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ interface BaseGraph<N> extends SuccessorsFunction<N>, PredecessorsFunction<N> {
* present in the collection), and the desire to have this method's behavior be compatible with
* {@code edges().contains(endpoints)}.
*
* @since NEXT
* @since 27.1
*/
boolean hasEdgeConnecting(EndpointPair<N> endpoints);
}
2 changes: 1 addition & 1 deletion android/guava/src/com/google/common/graph/Graph.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public interface Graph<N> extends BaseGraph<N> {
* throw if the object cannot be present in the collection), and the desire to have this method's
* behavior be compatible with {@code edges().contains(endpoints)}.
*
* @since NEXT
* @since 27.1
*/
@Override
boolean hasEdgeConnecting(EndpointPair<N> endpoints);
Expand Down
4 changes: 2 additions & 2 deletions android/guava/src/com/google/common/graph/MutableGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public interface MutableGraph<N> extends Graph<N> {
* @throws IllegalArgumentException if the introduction of the edge would violate {@link
* #allowsSelfLoops()}
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
@CanIgnoreReturnValue
boolean putEdge(EndpointPair<N> endpoints);
Expand Down Expand Up @@ -101,7 +101,7 @@ public interface MutableGraph<N> extends Graph<N> {
*
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @return {@code true} if the graph was modified as a result of this call
* @since NEXT
* @since 27.1
*/
@CanIgnoreReturnValue
boolean removeEdge(EndpointPair<N> endpoints);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public interface MutableNetwork<N, E> extends Network<N, E> {
* @throws IllegalArgumentException if the introduction of the edge would violate {@link
* #allowsParallelEdges()} or {@link #allowsSelfLoops()}
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
@CanIgnoreReturnValue
boolean addEdge(EndpointPair<N> endpoints, E edge);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public interface MutableValueGraph<N, V> extends ValueGraph<N, V> {
* @throws IllegalArgumentException if the introduction of the edge would violate {@link
* #allowsSelfLoops()}
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
@CanIgnoreReturnValue
V putEdgeValue(EndpointPair<N> endpoints, V value);
Expand Down Expand Up @@ -109,7 +109,7 @@ public interface MutableValueGraph<N, V> extends ValueGraph<N, V> {
*
* @return the value previously associated with the edge connecting {@code endpoints}, or null if
* there was no such edge.
* @since NEXT
* @since 27.1
*/
@CanIgnoreReturnValue
V removeEdge(EndpointPair<N> endpoints);
Expand Down
6 changes: 3 additions & 3 deletions android/guava/src/com/google/common/graph/Network.java
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
*
* @throws IllegalArgumentException if either endpoint is not an element of this network
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
Set<E> edgesConnecting(EndpointPair<N> endpoints);

Expand Down Expand Up @@ -325,7 +325,7 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
* to {@code nodeV}
* @throws IllegalArgumentException if either endpoint is not an element of this network
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
@NullableDecl
E edgeConnectingOrNull(EndpointPair<N> endpoints);
Expand All @@ -350,7 +350,7 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
* consistency with {@link Graph#hasEdgeConnecting(EndpointPair)} and {@link
* ValueGraph#hasEdgeConnecting(EndpointPair)}.
*
* @since NEXT
* @since 27.1
*/
boolean hasEdgeConnecting(EndpointPair<N> endpoints);

Expand Down
4 changes: 2 additions & 2 deletions android/guava/src/com/google/common/graph/ValueGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public interface ValueGraph<N, V> extends BaseGraph<N> {
* throw if the object cannot be present in the collection), and the desire to have this method's
* behavior be compatible with {@code edges().contains(endpoints)}.
*
* @since NEXT
* @since 27.1
*/
@Override
boolean hasEdgeConnecting(EndpointPair<N> endpoints);
Expand All @@ -281,7 +281,7 @@ public interface ValueGraph<N, V> extends BaseGraph<N> {
*
* @throws IllegalArgumentException if either endpoint is not an element of this graph
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
@NullableDecl
V edgeValueOrDefault(EndpointPair<N> endpoints, @NullableDecl V defaultValue);
Expand Down
14 changes: 7 additions & 7 deletions android/guava/src/com/google/common/net/HttpHeaders.java
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ private ReferrerPolicyValues() {}
* The HTTP <a href="https://googlechrome.github.io/OriginTrials/#header">{@code Origin-Trial}</a>
* header field name.
*
* @since NEXT
* @since 27.1
*/
public static final String ORIGIN_TRIAL = "Origin-Trial";
/** The HTTP {@code P3P} header field name. Limited browser support. */
Expand All @@ -275,7 +275,7 @@ private ReferrerPolicyValues() {}
/**
* The HTTP <a href="https://www.w3.org/TR/reporting/">{@code Report-To}</a> header field name.
*
* @since NEXT
* @since 27.1
*/
public static final String REPORT_TO = "Report-To";
/** The HTTP {@code Retry-After} header field name. */
Expand Down Expand Up @@ -304,7 +304,7 @@ private ReferrerPolicyValues() {}
/**
* The HTTP <a href="http://goo.gl/Dxx19N">{@code SourceMap}</a> header field name.
*
* @since NEXT
* @since 27.1
*/
@Beta public static final String SOURCE_MAP = "SourceMap";

Expand Down Expand Up @@ -415,28 +415,28 @@ private ReferrerPolicyValues() {}
* The HTTP <a href="https://mikewest.github.io/sec-metadata/">{@code Sec-Fetch-Dest}</a> header
* field name.
*
* @since NEXT
* @since 27.1
*/
public static final String SEC_FETCH_DEST = "Sec-Fetch-Dest";
/**
* The HTTP <a href="https://mikewest.github.io/sec-metadata/">{@code Sec-Fetch-Mode}</a> header
* field name.
*
* @since NEXT
* @since 27.1
*/
public static final String SEC_FETCH_MODE = "Sec-Fetch-Mode";
/**
* The HTTP <a href="https://mikewest.github.io/sec-metadata/">{@code Sec-Fetch-Site}</a> header
* field name.
*
* @since NEXT
* @since 27.1
*/
public static final String SEC_FETCH_SITE = "Sec-Fetch-Site";
/**
* The HTTP <a href="https://mikewest.github.io/sec-metadata/">{@code Sec-Fetch-User}</a> header
* field name.
*
* @since NEXT
* @since 27.1
*/
public static final String SEC_FETCH_USER = "Sec-Fetch-User";
/**
Expand Down
6 changes: 3 additions & 3 deletions android/guava/src/com/google/common/net/MediaType.java
Original file line number Diff line number Diff line change
Expand Up @@ -448,15 +448,15 @@ private static MediaType addKnownType(MediaType mediaType) {
* For <a href="https://tools.ietf.org/html/rfc7515">JWS or JWE objects using the Compact
* Serialization</a>.
*
* @since NEXT
* @since 27.1
*/
public static final MediaType JOSE = createConstant(APPLICATION_TYPE, "jose");

/**
* For <a href="https://tools.ietf.org/html/rfc7515">JWS or JWE objects using the JSON
* Serialization</a>.
*
* @since NEXT
* @since 27.1
*/
public static final MediaType JOSE_JSON = createConstant(APPLICATION_TYPE, "jose+json");

Expand Down Expand Up @@ -502,7 +502,7 @@ private static MediaType addKnownType(MediaType mediaType) {
/**
* <a href="http://goo.gl/XrTEqG">Microsoft Outlook</a> items.
*
* @since NEXT
* @since 27.1
*/
public static final MediaType MICROSOFT_OUTLOOK =
createConstant(APPLICATION_TYPE, "vnd.ms-outlook");
Expand Down
2 changes: 1 addition & 1 deletion guava/src/com/google/common/graph/BaseGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ interface BaseGraph<N> extends SuccessorsFunction<N>, PredecessorsFunction<N> {
* present in the collection), and the desire to have this method's behavior be compatible with
* {@code edges().contains(endpoints)}.
*
* @since NEXT
* @since 27.1
*/
boolean hasEdgeConnecting(EndpointPair<N> endpoints);
}
2 changes: 1 addition & 1 deletion guava/src/com/google/common/graph/Graph.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public interface Graph<N> extends BaseGraph<N> {
* throw if the object cannot be present in the collection), and the desire to have this method's
* behavior be compatible with {@code edges().contains(endpoints)}.
*
* @since NEXT
* @since 27.1
*/
@Override
boolean hasEdgeConnecting(EndpointPair<N> endpoints);
Expand Down
4 changes: 2 additions & 2 deletions guava/src/com/google/common/graph/MutableGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public interface MutableGraph<N> extends Graph<N> {
* @throws IllegalArgumentException if the introduction of the edge would violate {@link
* #allowsSelfLoops()}
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
@CanIgnoreReturnValue
boolean putEdge(EndpointPair<N> endpoints);
Expand Down Expand Up @@ -101,7 +101,7 @@ public interface MutableGraph<N> extends Graph<N> {
*
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @return {@code true} if the graph was modified as a result of this call
* @since NEXT
* @since 27.1
*/
@CanIgnoreReturnValue
boolean removeEdge(EndpointPair<N> endpoints);
Expand Down
2 changes: 1 addition & 1 deletion guava/src/com/google/common/graph/MutableNetwork.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public interface MutableNetwork<N, E> extends Network<N, E> {
* @throws IllegalArgumentException if the introduction of the edge would violate {@link
* #allowsParallelEdges()} or {@link #allowsSelfLoops()}
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
@CanIgnoreReturnValue
boolean addEdge(EndpointPair<N> endpoints, E edge);
Expand Down
4 changes: 2 additions & 2 deletions guava/src/com/google/common/graph/MutableValueGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public interface MutableValueGraph<N, V> extends ValueGraph<N, V> {
* @throws IllegalArgumentException if the introduction of the edge would violate {@link
* #allowsSelfLoops()}
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
@CanIgnoreReturnValue
V putEdgeValue(EndpointPair<N> endpoints, V value);
Expand Down Expand Up @@ -109,7 +109,7 @@ public interface MutableValueGraph<N, V> extends ValueGraph<N, V> {
*
* @return the value previously associated with the edge connecting {@code endpoints}, or null if
* there was no such edge.
* @since NEXT
* @since 27.1
*/
@CanIgnoreReturnValue
V removeEdge(EndpointPair<N> endpoints);
Expand Down
8 changes: 4 additions & 4 deletions guava/src/com/google/common/graph/Network.java
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
*
* @throws IllegalArgumentException if either endpoint is not an element of this network
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
Set<E> edgesConnecting(EndpointPair<N> endpoints);

Expand Down Expand Up @@ -326,7 +326,7 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
* to {@code nodeV}
* @throws IllegalArgumentException if either endpoint is not an element of this network
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
Optional<E> edgeConnecting(EndpointPair<N> endpoints);

Expand Down Expand Up @@ -355,7 +355,7 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
* to {@code nodeV}
* @throws IllegalArgumentException if either endpoint is not an element of this network
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
@Nullable
E edgeConnectingOrNull(EndpointPair<N> endpoints);
Expand All @@ -380,7 +380,7 @@ public interface Network<N, E> extends SuccessorsFunction<N>, PredecessorsFuncti
* consistency with {@link Graph#hasEdgeConnecting(EndpointPair)} and {@link
* ValueGraph#hasEdgeConnecting(EndpointPair)}.
*
* @since NEXT
* @since 27.1
*/
boolean hasEdgeConnecting(EndpointPair<N> endpoints);

Expand Down
6 changes: 3 additions & 3 deletions guava/src/com/google/common/graph/ValueGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public interface ValueGraph<N, V> extends BaseGraph<N> {
* throw if the object cannot be present in the collection), and the desire to have this method's
* behavior be compatible with {@code edges().contains(endpoints)}.
*
* @since NEXT
* @since 27.1
*/
@Override
boolean hasEdgeConnecting(EndpointPair<N> endpoints);
Expand All @@ -280,7 +280,7 @@ public interface ValueGraph<N, V> extends BaseGraph<N> {
*
* @throws IllegalArgumentException if either endpoint is not an element of this graph
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
Optional<V> edgeValue(EndpointPair<N> endpoints);

Expand All @@ -305,7 +305,7 @@ public interface ValueGraph<N, V> extends BaseGraph<N> {
*
* @throws IllegalArgumentException if either endpoint is not an element of this graph
* @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
* @since NEXT
* @since 27.1
*/
@Nullable
V edgeValueOrDefault(EndpointPair<N> endpoints, @Nullable V defaultValue);
Expand Down
Loading

0 comments on commit 8e174e7

Please sign in to comment.