This is an automated email from the ASF dual-hosted git repository.

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git


The following commit(s) were added to refs/heads/master by this push:
     new 19bd2163 Javadoc
19bd2163 is described below

commit 19bd21630af67077201638143a421e23c1587838
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jul 11 08:49:07 2026 -0400

    Javadoc
---
 .../commons/fileupload2/core/AbstractRequestContext.java       |  2 +-
 .../java/org/apache/commons/fileupload2/core/DiskFileItem.java |  2 +-
 .../apache/commons/fileupload2/core/DiskFileItemFactory.java   |  2 +-
 .../org/apache/commons/fileupload2/core/FileItemFactory.java   | 10 +++++-----
 .../commons/fileupload2/core/FileItemHeadersProvider.java      |  2 +-
 .../fileupload2/core/FileUploadContentTypeException.java       |  2 +-
 .../org/apache/commons/fileupload2/core/MultipartInput.java    |  2 +-
 .../org/apache/commons/fileupload2/core/ParameterParser.java   |  6 +++---
 .../commons/fileupload2/core/QuotedPrintableDecoder.java       |  4 ++--
 .../org/apache/commons/fileupload2/core/RequestContext.java    |  2 +-
 10 files changed, 17 insertions(+), 17 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 3b81a847..8e08af8c 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
@@ -80,7 +80,7 @@ public abstract class AbstractRequestContext<T> implements 
RequestContext {
     /**
      * Gets the request.
      *
-     * @return the request.
+     * @return The request.
      */
     public T getRequest() {
         return request;
diff --git 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java
 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java
index deb651d0..246e71d7 100644
--- 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java
+++ 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItem.java
@@ -386,7 +386,7 @@ public final class DiskFileItem implements 
FileItem<DiskFileItem> {
     /**
      * Gets the default charset for use when no explicit charset parameter is 
provided by the sender.
      *
-     * @return the default charset
+     * @return The default charset
      */
     public Charset getCharsetDefault() {
         return charsetDefault;
diff --git 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItemFactory.java
 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItemFactory.java
index 39dd8837..7885c184 100644
--- 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItemFactory.java
+++ 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/DiskFileItemFactory.java
@@ -243,7 +243,7 @@ public final class DiskFileItemFactory implements 
FileItemFactory<DiskFileItem>
     /**
      * Gets the default charset for use when no explicit charset parameter is 
provided by the sender.
      *
-     * @return the default charset
+     * @return The default charset
      */
     public Charset getCharsetDefault() {
         return charsetDefault;
diff --git 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemFactory.java
 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemFactory.java
index 06216f18..f5e18dd3 100644
--- 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemFactory.java
+++ 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemFactory.java
@@ -91,7 +91,7 @@ public interface FileItemFactory<I extends FileItem<I>> {
         /**
          * Gets the content type.
          *
-         * @return the content type.
+         * @return The content type.
          */
         public String getContentType() {
             return contentType;
@@ -100,7 +100,7 @@ public interface FileItemFactory<I extends FileItem<I>> {
         /**
          * Gets the field name.
          *
-         * @return the field name.
+         * @return The field name.
          */
         public String getFieldName() {
             return fieldName;
@@ -109,7 +109,7 @@ public interface FileItemFactory<I extends FileItem<I>> {
         /**
          * Gets the file cleaning tracker.
          *
-         * @return the file cleaning tracker.
+         * @return The file cleaning tracker.
          */
         public FileCleaningTracker getFileCleaningTracker() {
             return fileCleaningTracker;
@@ -118,7 +118,7 @@ public interface FileItemFactory<I extends FileItem<I>> {
         /**
          * Gets the field item headers.
          *
-         * @return the field item headers.
+         * @return The field item headers.
          */
         public FileItemHeaders getFileItemHeaders() {
             return fileItemHeaders;
@@ -127,7 +127,7 @@ public interface FileItemFactory<I extends FileItem<I>> {
         /**
          * Gets the file name.
          *
-         * @return the file name.
+         * @return The file name.
          */
         public String getFileName() {
             return fileName;
diff --git 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemHeadersProvider.java
 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemHeadersProvider.java
index 173cabcc..ff3f776c 100644
--- 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemHeadersProvider.java
+++ 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileItemHeadersProvider.java
@@ -28,7 +28,7 @@ public interface FileItemHeadersProvider<T extends 
FileItemHeadersProvider<T>> {
     /**
      * Gets the collection of headers defined locally within this item.
      *
-     * @return the {@link FileItemHeaders} present for this item.
+     * @return The {@link FileItemHeaders} present for this item.
      */
     FileItemHeaders getHeaders();
 
diff --git 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileUploadContentTypeException.java
 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileUploadContentTypeException.java
index 54138cac..86d88e69 100644
--- 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileUploadContentTypeException.java
+++ 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/FileUploadContentTypeException.java
@@ -55,7 +55,7 @@ public class FileUploadContentTypeException extends 
FileUploadException {
     /**
      * Gets the content type.
      *
-     * @return the content type.
+     * @return The content type.
      */
     public String getContentType() {
         return contentType;
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 4f1a64f5..06b5d1e3 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
@@ -837,7 +837,7 @@ public final class MultipartInput {
      * </p>
      *
      * @param output The {@code Stream} to write data into. May be null, in 
which case this method is equivalent to {@link #discardBodyData()}.
-     * @return the amount of data written.
+     * @return The amount of data written.
      * @throws MalformedStreamException if the stream ends unexpectedly.
      * @throws IOException              if an i/o error occurs.
      */
diff --git 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/ParameterParser.java
 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/ParameterParser.java
index 0daf413a..60d1bf92 100644
--- 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/ParameterParser.java
+++ 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/ParameterParser.java
@@ -73,7 +73,7 @@ public class ParameterParser {
      * A helper method to process the parsed token. This method removes 
leading and trailing blanks as well as enclosing quotation marks, when 
necessary.
      *
      * @param quoted {@code true} if quotation marks are expected, {@code 
false} otherwise.
-     * @return the token
+     * @return The token
      */
     private String getToken(final boolean quoted) {
         // Trim leading white spaces
@@ -242,7 +242,7 @@ public class ParameterParser {
      * Parses out a token until any of the given terminators is encountered 
outside the quotation marks.
      *
      * @param terminators the array of terminating characters. Any of these 
characters when encountered outside the quotation marks signify the end of the 
token
-     * @return the token
+     * @return The token
      */
     private String parseQuotedToken(final char[] terminators) {
         char ch;
@@ -270,7 +270,7 @@ public class ParameterParser {
      * Parses out a token until any of the given terminators is encountered.
      *
      * @param terminators the array of terminating characters. Any of these 
characters when encountered signify the end of the token
-     * @return the token
+     * @return The token
      */
     private String parseToken(final char[] terminators) {
         char ch;
diff --git 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/QuotedPrintableDecoder.java
 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/QuotedPrintableDecoder.java
index 1f69ce87..c54f9a0c 100644
--- 
a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/QuotedPrintableDecoder.java
+++ 
b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/core/QuotedPrintableDecoder.java
@@ -33,7 +33,7 @@ final class QuotedPrintableDecoder {
      *
      * @param data The array of byte data to decode.
      * @param out  The output stream used to return the decoded data.
-     * @return the number of bytes produced.
+     * @return The number of bytes produced.
      * @throws IOException if an IO error occurs
      */
     public static int decode(final byte[] data, final OutputStream out) throws 
IOException {
@@ -87,7 +87,7 @@ final class QuotedPrintableDecoder {
      * Converts a hexadecimal digit to the binary value it represents.
      *
      * @param b the ASCII hexadecimal byte to convert (0-0, A-F, a-f)
-     * @return the int value of the hexadecimal byte, 0-15
+     * @return The int value of the hexadecimal byte, 0-15
      * @throws IOException if the byte is not a valid hexadecimal digit.
      */
     private static int hexToBinary(final byte b) throws IOException {
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 34a86a34..807d4ae5 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
@@ -73,7 +73,7 @@ public interface RequestContext {
     /**
      * Is the Request of type {@code multipart/related}?
      *
-     * @return the Request is of type {@code multipart/related}
+     * @return The Request is of type {@code multipart/related}
      * @since 2.0.0
      */
     boolean isMultipartRelated();

Reply via email to