mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Link to Java 17 documentation (#3750)
This prevents issues because older documentation may not apply to Java 17. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
+3
-2
@@ -30,8 +30,9 @@ import org.slf4j.LoggerFactory;
|
||||
/**
|
||||
* 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>
|
||||
|
||||
+2
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user