Improve javadoc for some addons (#15701)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
Holger Friedrich
2023-10-08 00:25:04 +02:00
committed by GitHub
parent f8bcfb0c7e
commit f24a4305b8
275 changed files with 547 additions and 406 deletions

View File

@@ -236,7 +236,7 @@ public class PresenceDetection implements IPRequestReceivedCallback {
}
/**
* Return the last seen value in milliseconds based on {@link System.currentTimeMillis()} or 0 if not seen yet.
* Return the last seen value in milliseconds based on {@link System#currentTimeMillis()} or 0 if not seen yet.
*/
public long getLastSeen() {
return lastSeenInMS;

View File

@@ -51,7 +51,7 @@ public class ExpiringCacheAsync<V> {
*
* @param expiry the duration in milliseconds for how long the value stays valid. Must be greater than 0.
* @param cacheUpdater The cache will use this callback if a new value is needed. Must not be null.
* @throws IllegalArgumentException For an expire value <=0 or a null cacheUpdater.
* @throws IllegalArgumentException For an expire value {@literal <=0} or a null cacheUpdater.
*/
public ExpiringCacheAsync(long expiry, @Nullable ExpiringCacheUpdate cacheUpdater) throws IllegalArgumentException {
if (expiry <= 0) {