Skip to content

Commit

Permalink
Link to Java 17 documentation (#3750)
Browse files Browse the repository at this point in the history
This prevents issues because older documentation may not apply to Java 17.

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn authored Aug 12, 2023
1 parent 409198c commit 04105c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
/**
* This is a thread pool executor service, which works as a developer would expect it to work.
* The default {@link ThreadPoolExecutor} does the following (see
* <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ThreadPoolExecutor.html">the official
* JavaDoc)</a>:
* <a href=
* "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/concurrent/ThreadPoolExecutor.html">the
* official JavaDoc)</a>:
* <ul>
* <li>If fewer than corePoolSize threads are running, the Executor always prefers adding a new thread rather than
* queuing.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public class TopicEventFilter implements EventFilter {
* Constructs a new topic event filter.
*
* @param topicRegex the regular expression of a topic
* @see <a href="http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html">Java Regex</a>
* @see <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/regex/Pattern.html">Java
* Regex</a>
*/
public TopicEventFilter(String topicRegex) {
this.topicRegex = Pattern.compile(topicRegex);
Expand Down

0 comments on commit 04105c1

Please sign in to comment.