aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcpovirk <cpovirk@google.com>2020-06-08 17:38:37 -0700
committerChris Povirk <beigetangerine@gmail.com>2020-06-09 09:14:45 -0400
commit32fdb09b437776951f724930afcc06f19f7e3f33 (patch)
treea9f38702a3d8ef1eda4734146d71008f06b840c5
parent2f437b5a8276fdd4b4911a86e94ca61d16500180 (diff)
downloadauto-32fdb09b437776951f724930afcc06f19f7e3f33.tar.gz
Change links from google.github.io/guava to guava.dev, including making sure they're https.
The links work even now because they automatically redirect. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=315389274
-rw-r--r--value/userguide/builders-howto.md2
-rw-r--r--value/userguide/howto.md5
2 files changed, 4 insertions, 3 deletions
diff --git a/value/userguide/builders-howto.md b/value/userguide/builders-howto.md
index 7a491f49..00038e70 100644
--- a/value/userguide/builders-howto.md
+++ b/value/userguide/builders-howto.md
@@ -335,7 +335,7 @@ public abstract class Animal {
```
[`java.util.Optional`]: https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html
-[`com.google.common.base.Optional`]: http://google.github.io/guava/releases/snapshot/api/docs/com/google/common/base/Optional.html
+[`com.google.common.base.Optional`]: https://guava.dev/releases/snapshot/api/docs/com/google/common/base/Optional.html
[`OptionalDouble`]: https://docs.oracle.com/javase/8/docs/api/java/util/OptionalDouble.html
[`OptionalInt`]: https://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html
[`OptionalLong`]: https://docs.oracle.com/javase/8/docs/api/java/util/OptionalLong.html
diff --git a/value/userguide/howto.md b/value/userguide/howto.md
index 6b24a7a1..1dbc5617 100644
--- a/value/userguide/howto.md
+++ b/value/userguide/howto.md
@@ -325,8 +325,9 @@ might be mutated and the other not.
AutoValue intentionally does not provide this feature. It is better for you to
roll your own comparison logic using the new methods added to
-[`Comparator`](https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html) in Java 8,
-or [`ComparisonChain`](http://google.github.io/guava/releases/snapshot/api/docs/com/google/common/collect/ComparisonChain.html)
+[`Comparator`](https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html)
+in Java 8, or
+[`ComparisonChain`](https://guava.dev/releases/snapshot/api/docs/com/google/common/collect/ComparisonChain.html)
from [Guava](http://github.com/google/guava).
Since these mechanisms are easy to use, require very little code, and give you