You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2022/03/16 06:02:41 UTC
[sling-org-apache-sling-api] 02/02: Fix javadoc errors
This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-api.git
commit cf03b5a402759d4cd877a3e342d50f1756907b39
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Mar 16 07:02:33 2022 +0100
Fix javadoc errors
---
.../java/org/apache/sling/api/request/RequestProgressTracker.java | 1 +
src/main/java/org/apache/sling/api/resource/ResourceResolver.java | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/apache/sling/api/request/RequestProgressTracker.java b/src/main/java/org/apache/sling/api/request/RequestProgressTracker.java
index e1e4e64..32f5ebf 100644
--- a/src/main/java/org/apache/sling/api/request/RequestProgressTracker.java
+++ b/src/main/java/org/apache/sling/api/request/RequestProgressTracker.java
@@ -145,6 +145,7 @@ public interface RequestProgressTracker {
/**
* Get the duration in nano seconds.
+ * @return The duration in nano seconds
* @since 2.6.0 (Sling API Bundle 2.25.0)
*/
default long getDuration() {
diff --git a/src/main/java/org/apache/sling/api/resource/ResourceResolver.java b/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
index 9b03431..0efc152 100644
--- a/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
+++ b/src/main/java/org/apache/sling/api/resource/ResourceResolver.java
@@ -608,7 +608,7 @@ public interface ResourceResolver extends Adaptable, Closeable {
* any of the used resource providers is no longer active.
*
* All objects in the map maintained by {@link #getPropertyMap()} implementing
- * the {@link #Closeable} interface, will be closed by calling {@code close()} on each of them.
+ * the {@link Closeable} interface, will be closed by calling {@code Closeable#close()} on each of them.
* Any exception thrown by this call will be ignored. The order in which the objects are
* closed is not defined.
*
@@ -873,10 +873,10 @@ public interface ResourceResolver extends Adaptable, Closeable {
* resource resolver. The resource resolver itself does not use this map.
*
* The resource resolver will clear the map during {@link #close()}, so afterwards the map is empty.
- * If a stored value implements the {@link #Closeable} interface, the ResourceResolver will invoke the
+ * If a stored value implements the {@link Closeable} interface, the ResourceResolver will invoke the
* <code>close()</code> of the value before clearing the map.
*
- * @returns the property map
+ * @return the property map
* @see #close()
* @since 2.13.0 (Sling API Bundle 2.24.0)
*/