Skip to content

Commit 2fffc46

Browse files
committed
Update javadoc links
1 parent 421e031 commit 2fffc46

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

src/conclusion/what_now.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ to in order to render websites.
117117
There are a lot of tools for this in Java. A lot a lot. I would recommend
118118
starting with the one that comes built-in: the `jdk.httpserver` module.
119119

120-
[Docs for `jdk.httpserver` here](https://docs.oracle.com/en/java/javase/25/docs/api/jdk.httpserver/module-summary.html)
120+
[Docs for `jdk.httpserver` here](https://javadoc.mccue.dev/api/jdk.httpserver/module-summary.html)
121121

122122
Then you will need to learn about SQL databases and how to query from/insert into them from Java.
123123

@@ -147,7 +147,7 @@ two paths.
147147
Path #1 is to learn Java Swing. This is an old crusty GUI framework that is kinda difficult to use
148148
but has the pro of coming with Java and being able to run on every potato in existence.
149149

150-
[Docs for `java.desktop` (Swing) here](https://docs.oracle.com/en/java/javase/25/docs/api/java.desktop/module-summary.html)
150+
[Docs for `java.desktop` (Swing) here](https://javadoc.mccue.dev/api/java.desktop/module-summary.html)
151151

152152
Path #2 is the learn JavaFX. By all accounts JavaFX is better software than Swing, but it was cursed
153153
by coming out at a point in history where desktop apps were no longer big business to develop. It

src/documentation/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ Fix these by documenting that code enough that `javadoc` no longer gives you war
1919

2020
## Challenge 3.
2121

22-
Read the [documentation for java.util.StringJoiner](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/StringJoiner.html).
22+
Read the [documentation for java.util.StringJoiner](https://javadoc.mccue.dev/api/java.base/java/util/StringJoiner.html).
2323

2424
If you can, alter one of your projects to use it.

src/documentation/javadoc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ javadoc \
1717
This will produce a directory full of HTML files that contain all
1818
the documentation from the specified modules.
1919

20-
This is what is used to make [the official Java documenation](https://docs.oracle.com/en/java/javase/25/docs/api/index.html) as well as at least part of the documentation for most Java libraries.
20+
This is what is used to make [the official Java documenation](https://javadoc.mccue.dev/api/index.html) as well as at least part of the documentation for most Java libraries.
2121

2222
[^theme]: As is a theme with command-line tools

src/hash_maps/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class Main {
9090
```
9191

9292
If you feel like this is hard to do with just `.put` and `.get`, you can
93-
check for [other methods on HashMap that can help you](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/HashMap.html).
93+
check for [other methods on HashMap that can help you](https://javadoc.mccue.dev/api/java.base/java/util/HashMap.html).
9494

9595
## Challenge 3.
9696

src/loops_iii/iterable_and_iterator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
For things that are not arrays, a for-each loops
44
are built on top of two interfaces: `java.lang.Iterable` and `java.lang.Iterator`.
55

6-
The [`Iterator`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Iterator.html) interface defines two methods: `hasNext` and `next`[^remove]. Iterators let you box up the logic of
6+
The [`Iterator`](https://javadoc.mccue.dev/api/java.base/java/util/Iterator.html) interface defines two methods: `hasNext` and `next`[^remove]. Iterators let you box up the logic of
77
how to loop over something.
88

99
```java,no_run
@@ -17,7 +17,7 @@ public interface Iterator<T> {
1717
}
1818
```
1919

20-
[`Iterable`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Iterable.html) then
20+
[`Iterable`](https://javadoc.mccue.dev/api/java.base/java/util/Iterable.html) then
2121
just has one method which gives you an `Iterator`.
2222

2323
```java,no_run

src/packages/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This will require marking the classes and many of the methods within `public`.
2828

2929
## Challenge 3.
3030

31-
Read through [the list of packages that come with Java](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/module-summary.html). You don't need to understand everything you are looking at; just
31+
Read through [the list of packages that come with Java](https://javadoc.mccue.dev/api/java.base/module-summary.html). You don't need to understand everything you are looking at; just
3232
browse and try to find at least one class that interests you.
3333

3434
Import that class and try to use it.

src/reflection/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ as input and returns if the name of the underlying
1212
class for that `Object` starts with a vowel.
1313

1414
You might need to consult the documentation
15-
for [Class](https://docs.oracle.com/en/java/javase/25/docs/api/index.html).
15+
for [Class](https://javadoc.mccue.dev/api/index.html).
1616

1717
```java,editable
1818
class Apple {}

src/static_methods/math.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ an instance of a class to call them would be silly.
1717
The `Math` class that comes with Java has methods that work in this way. `Math.max(a, b)`
1818
is `static` and therefore usable everywhere you want the maximum of two numbers.[^more]
1919

20-
[^more]: There are way more on there. [Take a look](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Math.html).
20+
[^more]: There are way more on there. [Take a look](https://javadoc.mccue.dev/api/java.base/java/lang/Math.html).

src/streams/challenges.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Main {
4646

4747
## Challenge 3.
4848

49-
Read the documentation on [`Collector`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/stream/Collector.html) and [`Collectors`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/stream/Collector.html).
49+
Read the documentation on [`Collector`](https://javadoc.mccue.dev/api/java.base/java/util/stream/Collector.html) and [`Collectors`](https://javadoc.mccue.dev/api/java.base/java/util/stream/Collector.html).
5050

5151
Make an implementation of `Collector` that can collect elements into `MySpecialList`.
5252

src/time/date.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ class Main {
5656

5757
To be clear though, `Date` has problems. We aren't ready to explain all of them yet. Just treat `Date` as haunted, as in by ghosts, and use the `java.time` alternatives when you can.
5858

59-
[^gmt]: You will notice that when we print out the date we get GMT. GMT is basically the same as UTC, though [the documentation for `Date`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Date.html) explains the difference.
59+
[^gmt]: You will notice that when we print out the date we get GMT. GMT is basically the same as UTC, though [the documentation for `Date`](https://javadoc.mccue.dev/api/java.base/java/util/Date.html) explains the difference.

0 commit comments

Comments
 (0)