You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/07/29 11:56:55 UTC
(commons-fileupload) branch master updated (a86aa96a -> 44cc30b3)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
from a86aa96a Workaround broken Maven profile
new f9a67146 Use Javadoc @code
new 44cc30b3 Use Javadoc pre HTML tag
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/commons/fileupload2/core/AbstractRequestContext.java | 4 ++--
.../apache/commons/fileupload2/core/FileItemInputIteratorImpl.java | 2 +-
.../main/java/org/apache/commons/fileupload2/core/MultipartInput.java | 4 ++--
.../main/java/org/apache/commons/fileupload2/core/RequestContext.java | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
(commons-fileupload) 02/02: Use Javadoc pre HTML tag
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
commit 44cc30b36df9fd6cae576ae491543df2079cbfb0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jul 29 07:56:49 2024 -0400
Use Javadoc pre HTML tag
---
.../main/java/org/apache/commons/fileupload2/core/MultipartInput.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/MultipartInput.java b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/MultipartInput.java
index e90b8d60..cac07022 100644
--- a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/MultipartInput.java
+++ b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/MultipartInput.java
@@ -40,7 +40,7 @@ import org.apache.commons.io.output.NullOutputStream;
* <p>
* The format of the stream is defined in the following way:
* </p>
- * <code>
+ * <pre>
* multipart-body := preamble 1*encapsulation close-delimiter epilogue<br>
* encapsulation := delimiter body CRLF<br>
* delimiter := "--" boundary CRLF<br>
@@ -53,7 +53,7 @@ import org.apache.commons.io.output.NullOutputStream;
* header-name := <printable ASCII characters except ":"><br>
* header-value := <any ASCII characters except CR & LF><br>
* body-data := <arbitrary data><br>
- * </code>
+ * </pre>
*
* <p>
* Note that body-data can contain another mulipart entity. There is limited support for single pass processing of such nested streams. The nested stream is
(commons-fileupload) 01/02: Use Javadoc @code
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
commit f9a671460000a155e04920bbc8ccc7b8ec8146df
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jul 29 07:56:12 2024 -0400
Use Javadoc @code
---
.../org/apache/commons/fileupload2/core/AbstractRequestContext.java | 4 ++--
.../apache/commons/fileupload2/core/FileItemInputIteratorImpl.java | 2 +-
.../main/java/org/apache/commons/fileupload2/core/RequestContext.java | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/AbstractRequestContext.java b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/AbstractRequestContext.java
index 175ef2d2..63b4f2a5 100644
--- a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/AbstractRequestContext.java
+++ b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/AbstractRequestContext.java
@@ -86,9 +86,9 @@ public abstract class AbstractRequestContext<T> implements RequestContext {
}
/**
- * Is the Request of type <code>multipart/related</code>?
+ * Is the Request of type {@code multipart/related}?
*
- * @return the Request is of type <code>multipart/related</code>
+ * @return the Request is of type {@code multipart/related}
* @since 2.0.0
*/
@Override
diff --git a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemInputIteratorImpl.java b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemInputIteratorImpl.java
index ba8041d7..19ed9867 100644
--- a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemInputIteratorImpl.java
+++ b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemInputIteratorImpl.java
@@ -96,7 +96,7 @@ class FileItemInputIteratorImpl implements FileItemInputIterator {
private boolean eof;
/**
- * Is the Request of type <code>multipart/related</code>.
+ * Is the Request of type {@code multipart/related}.
*/
private final boolean multipartRelated;
diff --git a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/RequestContext.java b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/RequestContext.java
index 1684e817..5695e0e6 100644
--- a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/RequestContext.java
+++ b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/RequestContext.java
@@ -71,9 +71,9 @@ public interface RequestContext {
InputStream getInputStream() throws IOException;
/**
- * Is the Request of type <code>multipart/related</code>?
+ * Is the Request of type {@code multipart/related}?
*
- * @return the Request is of type <code>multipart/related</code>
+ * @return the Request is of type {@code multipart/related}
* @since 2.0.0
*/
boolean isMultipartRelated();