This is an automated email from the ASF dual-hosted git repository. ggregory 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 590e526f Javadoc: Use semantic tag <strong> instead of style tag <b> 590e526f is described below commit 590e526f4f53326af8af6eb2ca70b4af2fea2328 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Nov 15 11:20:26 2024 -0500 Javadoc: Use semantic tag <strong> instead of style tag <b> --- src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java | 2 +- .../org/apache/commons/fileupload/disk/DiskFileItemFactory.java | 2 +- .../org/apache/commons/fileupload/util/mime/RFC2231Utility.java | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) 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 8fa7e772..7a5aac17 100644 --- a/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java +++ b/src/main/java/org/apache/commons/fileupload/disk/DiskFileItem.java @@ -417,7 +417,7 @@ public class DiskFileItem * character encoding. This method uses {@link #get()} to retrieve the * contents of the file. * - * <b>TODO</b> Consider making this method throw UnsupportedEncodingException. + * <strong>TODO</strong> Consider making this method throw UnsupportedEncodingException. * * @return The contents of the file, as a string. */ 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 1bc3980a..b1663b92 100644 --- a/src/main/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java +++ b/src/main/java/org/apache/commons/fileupload/disk/DiskFileItemFactory.java @@ -39,7 +39,7 @@ import org.apache.commons.io.FileCleaningTracker; * {@code System.getProperty("java.io.tmpdir")}.</li> * </ul> * <p> - * <b>NOTE</b>: Files are created in the system default temp directory with + * <strong>NOTE</strong>: Files are created in the system default temp directory with * predictable names. This means that a local attacker with write access to that * directory can perform a TOUTOC attack to replace any uploaded file with a * file of the attackers choice. The implications of this will depend on how the diff --git a/src/main/java/org/apache/commons/fileupload/util/mime/RFC2231Utility.java b/src/main/java/org/apache/commons/fileupload/util/mime/RFC2231Utility.java index 75a628dc..b9cb698f 100644 --- a/src/main/java/org/apache/commons/fileupload/util/mime/RFC2231Utility.java +++ b/src/main/java/org/apache/commons/fileupload/util/mime/RFC2231Utility.java @@ -58,13 +58,13 @@ public final class RFC2231Utility { /** * Decode a string of text obtained from a HTTP header as per RFC 2231 * <p> - * <b>Eg 1.</b> {@code us-ascii'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A} + * <strong>Eg 1.</strong> {@code us-ascii'en-us'This%20is%20%2A%2A%2Afun%2A%2A%2A} * will be decoded to {@code This is ***fun***} * <p> - * <b>Eg 2.</b> {@code iso-8859-1'en'%A3%20rate} + * <strong>Eg 2.</strong> {@code iso-8859-1'en'%A3%20rate} * will be decoded to {@code £ rate} * <p> - * <b>Eg 3.</b> {@code UTF-8''%c2%a3%20and%20%e2%82%ac%20rates} + * <strong>Eg 3.</strong> {@code UTF-8''%c2%a3%20and%20%e2%82%ac%20rates} * will be decoded to {@code £ and € rates} * * @param encodedText Text to be decoded has a format of {@code <charset>'<language>'<encoded_value>}