diff --git a/android/guava/src/com/google/common/graph/MutableGraph.java b/android/guava/src/com/google/common/graph/MutableGraph.java index d7e43f75341f..181e9df6e4f2 100644 --- a/android/guava/src/com/google/common/graph/MutableGraph.java +++ b/android/guava/src/com/google/common/graph/MutableGraph.java @@ -45,10 +45,8 @@ public interface MutableGraph extends Graph { * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present. In an * undirected graph, the edge will also connect {@code nodeV} to {@code nodeU}. * - *

Behavior if {@code nodeU} and {@code nodeV} are not already present in this graph is - * implementation-dependent. Suggested behaviors include (a) silently {@link #addNode(Object) - * adding} {@code nodeU} and {@code nodeV} to the graph (this is the behavior of the default - * implementations) or (b) throwing {@code IllegalArgumentException}. + *

If {@code nodeU} and {@code nodeV} are not already present in this graph, this method + * will silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph. * * @return {@code true} if the graph was modified as a result of this call * @throws IllegalArgumentException if the introduction of the edge would violate {@link diff --git a/android/guava/src/com/google/common/graph/MutableNetwork.java b/android/guava/src/com/google/common/graph/MutableNetwork.java index aaa3f5aaa357..74698e4cb25a 100644 --- a/android/guava/src/com/google/common/graph/MutableNetwork.java +++ b/android/guava/src/com/google/common/graph/MutableNetwork.java @@ -48,10 +48,8 @@ public interface MutableNetwork extends Network { * *

Edges must be unique, just as {@code Map} keys must be. They must also be non-null. * - *

Behavior if {@code nodeU} and {@code nodeV} are not already present in this network is - * implementation-dependent. Suggested behaviors include (a) silently {@link #addNode(Object) - * adding} {@code nodeU} and {@code nodeV} to the network (this is the behavior of the default - * implementations) or (b) throwing {@code IllegalArgumentException}. + *

If {@code nodeU} and {@code nodeV} are not already present in this graph, this method + * will silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph. * *

If {@code edge} already connects {@code nodeU} to {@code nodeV} (in the specified order if * this network {@link #isDirected()}, else in any order), then this method will have no effect. diff --git a/android/guava/src/com/google/common/graph/MutableValueGraph.java b/android/guava/src/com/google/common/graph/MutableValueGraph.java index 796ed423077f..6aeeacd381a9 100644 --- a/android/guava/src/com/google/common/graph/MutableValueGraph.java +++ b/android/guava/src/com/google/common/graph/MutableValueGraph.java @@ -48,10 +48,8 @@ public interface MutableValueGraph extends ValueGraph { * *

Values do not have to be unique. However, values must be non-null. * - *

Behavior if {@code nodeU} and {@code nodeV} are not already present in this graph is - * implementation-dependent. Suggested behaviors include (a) silently {@link #addNode(Object) - * adding} {@code nodeU} and {@code nodeV} to the graph (this is the behavior of the default - * implementations) or (b) throwing {@code IllegalArgumentException}. + *

If {@code nodeU} and {@code nodeV} are not already present in this graph, this method + * will silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph. * * @return the value previously associated with the edge connecting {@code nodeU} to {@code * nodeV}, or null if there was no such edge. diff --git a/guava/src/com/google/common/graph/MutableGraph.java b/guava/src/com/google/common/graph/MutableGraph.java index d7e43f75341f..181e9df6e4f2 100644 --- a/guava/src/com/google/common/graph/MutableGraph.java +++ b/guava/src/com/google/common/graph/MutableGraph.java @@ -45,10 +45,8 @@ public interface MutableGraph extends Graph { * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present. In an * undirected graph, the edge will also connect {@code nodeV} to {@code nodeU}. * - *

Behavior if {@code nodeU} and {@code nodeV} are not already present in this graph is - * implementation-dependent. Suggested behaviors include (a) silently {@link #addNode(Object) - * adding} {@code nodeU} and {@code nodeV} to the graph (this is the behavior of the default - * implementations) or (b) throwing {@code IllegalArgumentException}. + *

If {@code nodeU} and {@code nodeV} are not already present in this graph, this method + * will silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph. * * @return {@code true} if the graph was modified as a result of this call * @throws IllegalArgumentException if the introduction of the edge would violate {@link diff --git a/guava/src/com/google/common/graph/MutableNetwork.java b/guava/src/com/google/common/graph/MutableNetwork.java index aaa3f5aaa357..74698e4cb25a 100644 --- a/guava/src/com/google/common/graph/MutableNetwork.java +++ b/guava/src/com/google/common/graph/MutableNetwork.java @@ -48,10 +48,8 @@ public interface MutableNetwork extends Network { * *

Edges must be unique, just as {@code Map} keys must be. They must also be non-null. * - *

Behavior if {@code nodeU} and {@code nodeV} are not already present in this network is - * implementation-dependent. Suggested behaviors include (a) silently {@link #addNode(Object) - * adding} {@code nodeU} and {@code nodeV} to the network (this is the behavior of the default - * implementations) or (b) throwing {@code IllegalArgumentException}. + *

If {@code nodeU} and {@code nodeV} are not already present in this graph, this method + * will silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph. * *

If {@code edge} already connects {@code nodeU} to {@code nodeV} (in the specified order if * this network {@link #isDirected()}, else in any order), then this method will have no effect. diff --git a/guava/src/com/google/common/graph/MutableValueGraph.java b/guava/src/com/google/common/graph/MutableValueGraph.java index 796ed423077f..6aeeacd381a9 100644 --- a/guava/src/com/google/common/graph/MutableValueGraph.java +++ b/guava/src/com/google/common/graph/MutableValueGraph.java @@ -48,10 +48,8 @@ public interface MutableValueGraph extends ValueGraph { * *

Values do not have to be unique. However, values must be non-null. * - *

Behavior if {@code nodeU} and {@code nodeV} are not already present in this graph is - * implementation-dependent. Suggested behaviors include (a) silently {@link #addNode(Object) - * adding} {@code nodeU} and {@code nodeV} to the graph (this is the behavior of the default - * implementations) or (b) throwing {@code IllegalArgumentException}. + *

If {@code nodeU} and {@code nodeV} are not already present in this graph, this method + * will silently {@link #addNode(Object) add} {@code nodeU} and {@code nodeV} to the graph. * * @return the value previously associated with the edge connecting {@code nodeU} to {@code * nodeV}, or null if there was no such edge.