You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/10/12 14:32:57 UTC
[tomcat] branch master updated: Remove trailing space characters.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new bac6311 Remove trailing space characters.
bac6311 is described below
commit bac631185d3e1d9ca38ea7805ecedf2f8cb90681
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Oct 12 15:32:04 2020 +0100
Remove trailing space characters.
---
java/jakarta/servlet/AsyncContext.java | 14 +++++++-------
java/jakarta/servlet/http/HttpFilter.java | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/java/jakarta/servlet/AsyncContext.java b/java/jakarta/servlet/AsyncContext.java
index 252dd96..12ed736 100644
--- a/java/jakarta/servlet/AsyncContext.java
+++ b/java/jakarta/servlet/AsyncContext.java
@@ -18,7 +18,7 @@ package jakarta.servlet;
/**
* Provides the context for asynchronous request handling
- *
+ *
* @since Servlet 3.0
*/
public interface AsyncContext {
@@ -120,21 +120,21 @@ public interface AsyncContext {
/**
* Starts a new thread to process the asynchronous request
- *
+ *
* @param run a Runnable that the new thread will run
*/
void start(Runnable run);
/**
* Adds an event listener that will be called for different AsyncEvents fire
- *
+ *
* @param listener an AsyncListener that will be called with AsyncEvent objects
*/
void addListener(AsyncListener listener);
/**
* Adds an event listener that will be called when different AsyncEvents fire
- *
+ *
* @param listener an AsyncListener that will be called with AsyncEvent objects
* @param request the ServletRequest that will be passed with the AsyncEvent
* @param response the ServletResponse that will be passed with the AsyncEvent
@@ -143,9 +143,9 @@ public interface AsyncContext {
ServletResponse response);
/**
- * Creates and returns an AsyncListener object
- *
- * @param <T>
+ * Creates and returns an AsyncListener object
+ *
+ * @param <T>
* @param clazz
* @return the newly created AsyncListener object
* @throws ServletException
diff --git a/java/jakarta/servlet/http/HttpFilter.java b/java/jakarta/servlet/http/HttpFilter.java
index 7124cd6..a8477a1 100644
--- a/java/jakarta/servlet/http/HttpFilter.java
+++ b/java/jakarta/servlet/http/HttpFilter.java
@@ -26,7 +26,7 @@ import jakarta.servlet.ServletResponse;
/**
* Provides a base class that implements the Filter interface and ensures
- * that the Request and Response are of type HttpServletRequest and
+ * that the Request and Response are of type HttpServletRequest and
* HttpServletResponse respectively.
*/
public abstract class HttpFilter extends GenericFilter {
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org