[java-support] branch main updated: Javadoc fixes

Ian Young ian at iay.org.uk
Tue May 31 08:41:58 UTC 2022


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch main
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=c35e5acba06bdaa53c82e281759ae18b79202f25

The following commit(s) were added to refs/heads/main by this push:
     new c35e5ac  Javadoc fixes
c35e5ac is described below

commit c35e5acba06bdaa53c82e281759ae18b79202f25
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Tue May 31 09:41:54 2022 +0100

    Javadoc fixes
---
 .../java/support/net/HttpServletRequestResponseContext.java    |  2 +-
 .../shibboleth/utilities/java/support/resource/Resource.java   | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/net/HttpServletRequestResponseContext.java b/src/main/java/net/shibboleth/utilities/java/support/net/HttpServletRequestResponseContext.java
index eadb537..c0fde45 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/net/HttpServletRequestResponseContext.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/net/HttpServletRequestResponseContext.java
@@ -28,7 +28,7 @@ import net.shibboleth.utilities.java.support.logic.Constraint;
  * Class which holds and makes available the current HTTP servlet request and response via ThreadLocal storage.
  * 
  * <p>
- * See also {@link RequestResponseContextFilter}, which is a Java Servlet {@link javax.servlet.Filter}-based way
+ * See also {@link RequestResponseContextFilter}, which is a Java Servlet {@link jakarta.servlet.Filter}-based way
  * to populate and clean up this context in a servlet container.
  * </p>
  */
diff --git a/src/main/java/net/shibboleth/utilities/java/support/resource/Resource.java b/src/main/java/net/shibboleth/utilities/java/support/resource/Resource.java
index b9a2ebd..1b354c2 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/resource/Resource.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/resource/Resource.java
@@ -139,21 +139,21 @@ public interface Resource {
 
     /**
      * Determine a filename for this resource, i.e. typically the last part of the path: for example, "myfile.txt".
-     * <p>
-     * 
+     *
      * @return {@code null} if this type of resource does not have a filename, otherwise the file name.
-     * 
      */
     String getFilename();
 
     /**
      * Return a description for this resource, to be used for error output when working with the resource.
+     *
      * <p>
      * Implementations are also encouraged to return this value from their {@code toString} method.
-     * 
+     * </p>
+     *
      * @see Object#toString()
      * @return a description for this resource.
      */
     String getDescription();
 
-}
\ No newline at end of file
+}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list