This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch 1.x
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
The following commit(s) were added to refs/heads/1.x by this push:
new 4eae41fb Javadoc
4eae41fb is described below
commit 4eae41fbe861d2ce8a1271df32553428cdc7c3f4
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jul 11 08:48:50 2026 -0400
Javadoc
---
.../java/org/apache/commons/fileupload/FileItemHeadersSupport.java | 2 +-
.../org/apache/commons/fileupload/InvalidFileNameException.java | 2 +-
src/main/java/org/apache/commons/fileupload/MultipartStream.java | 2 +-
src/main/java/org/apache/commons/fileupload/ParameterParser.java | 6 +++---
src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java | 2 +-
.../org/apache/commons/fileupload/disk/DiskFileItemFactory.java | 2 +-
.../apache/commons/fileupload/util/mime/QuotedPrintableDecoder.java | 4 ++--
.../java/org/apache/commons/fileupload/DefaultFileItemTest.java | 2 +-
8 files changed, 11 insertions(+), 11 deletions(-)
diff --git
a/src/main/java/org/apache/commons/fileupload/FileItemHeadersSupport.java
b/src/main/java/org/apache/commons/fileupload/FileItemHeadersSupport.java
index 56372f2e..a41673e9 100644
--- a/src/main/java/org/apache/commons/fileupload/FileItemHeadersSupport.java
+++ b/src/main/java/org/apache/commons/fileupload/FileItemHeadersSupport.java
@@ -29,7 +29,7 @@ public interface FileItemHeadersSupport {
/**
* Returns 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/src/main/java/org/apache/commons/fileupload/InvalidFileNameException.java
b/src/main/java/org/apache/commons/fileupload/InvalidFileNameException.java
index a725c6d9..1e3c3e02 100644
--- a/src/main/java/org/apache/commons/fileupload/InvalidFileNameException.java
+++ b/src/main/java/org/apache/commons/fileupload/InvalidFileNameException.java
@@ -53,7 +53,7 @@ public class InvalidFileNameException extends
RuntimeException {
/**
* Returns the invalid file name.
*
- * @return the invalid file name.
+ * @return The invalid file name.
*/
public String getName() {
return name;
diff --git a/src/main/java/org/apache/commons/fileupload/MultipartStream.java
b/src/main/java/org/apache/commons/fileupload/MultipartStream.java
index 7f2727ae..5240e135 100644
--- a/src/main/java/org/apache/commons/fileupload/MultipartStream.java
+++ b/src/main/java/org/apache/commons/fileupload/MultipartStream.java
@@ -826,7 +826,7 @@ public class MultipartStream {
*
* @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/src/main/java/org/apache/commons/fileupload/ParameterParser.java
b/src/main/java/org/apache/commons/fileupload/ParameterParser.java
index 99b4332d..49ebe2c1 100644
--- a/src/main/java/org/apache/commons/fileupload/ParameterParser.java
+++ b/src/main/java/org/apache/commons/fileupload/ParameterParser.java
@@ -79,7 +79,7 @@ public class ParameterParser {
*
* @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
@@ -260,7 +260,7 @@ public class ParameterParser {
* 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;
@@ -291,7 +291,7 @@ public class ParameterParser {
* @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/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
b/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
index c2d7c339..68d35b1e 100644
--- a/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
+++ b/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java
@@ -265,7 +265,7 @@ public class DiskFileItem implements FileItem {
/**
* 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 String getDefaultCharset() {
return defaultCharset;
diff --git
a/src/main/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java
b/src/main/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java
index 0c2ffbad..84e2595d 100644
--- a/src/main/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java
+++ b/src/main/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java
@@ -140,7 +140,7 @@ public class DiskFileItemFactory implements FileItemFactory
{
/**
* 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 String getDefaultCharset() {
return defaultCharset;
diff --git
a/src/main/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoder.java
b/src/main/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoder.java
index e4228df9..7019f18d 100644
---
a/src/main/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoder.java
+++
b/src/main/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoder.java
@@ -60,7 +60,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 {
@@ -114,7 +114,7 @@ final class QuotedPrintableDecoder {
* Convert a hex digit to the binary value it represents.
*
* @param b the ASCII hex byte to convert (0-0, A-F, a-f)
- * @return the int value of the hex byte, 0-15
+ * @return The int value of the hex byte, 0-15
* @throws IOException if the byte is not a valid hex digit.
*/
private static int hexToBinary(final byte b) throws IOException {
diff --git
a/src/test/java/org/apache/commons/fileupload/DefaultFileItemTest.java
b/src/test/java/org/apache/commons/fileupload/DefaultFileItemTest.java
index 216cbef5..6b0a6d90 100644
--- a/src/test/java/org/apache/commons/fileupload/DefaultFileItemTest.java
+++ b/src/test/java/org/apache/commons/fileupload/DefaultFileItemTest.java
@@ -105,7 +105,7 @@ public class DefaultFileItemTest {
* Creates a new {@code FileItemFactory} and returns it, obscuring from
the caller the underlying implementation of this interface.
*
* @param repository The directory within which temporary files will be
created.
- * @return the new {@code FileItemFactory} instance.
+ * @return The new {@code FileItemFactory} instance.
*/
protected FileItemFactory createFactory(final File repository) {
return new DefaultFileItemFactory(THRESHOLD, repository);