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
The following commit(s) were added to refs/heads/master by this push:
new 4f83cf04 Use Javadoc @code
4f83cf04 is described below
commit 4f83cf04082ec059fa852648af0ad213cfcf597c
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jul 29 07:57:19 2024 -0400
Use Javadoc @code
---
.../commons/fileupload2/core/MockRequestContextTest.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git
a/commons-fileupload2-core/src/test/java/org/apache/commons/fileupload2/core/MockRequestContextTest.java
b/commons-fileupload2-core/src/test/java/org/apache/commons/fileupload2/core/MockRequestContextTest.java
index d461d479..c21e1540 100644
---
a/commons-fileupload2-core/src/test/java/org/apache/commons/fileupload2/core/MockRequestContextTest.java
+++
b/commons-fileupload2-core/src/test/java/org/apache/commons/fileupload2/core/MockRequestContextTest.java
@@ -31,7 +31,7 @@ import static org.junit.jupiter.api.Assertions.*;
*/
public class MockRequestContextTest {
/**
- * Test if the <code>content-length</code> Value is numeric.
+ * Test if the {@code content-length} Value is numeric.
*/
@Test
public void getContentLengthByParsing() {
@@ -46,7 +46,7 @@ public class MockRequestContextTest {
}
/**
- * Test if the <code>content-length</code> Value is not numeric
+ * Test if the {@code content-length} Value is not numeric
* and the Default will be taken.
*/
@Test
@@ -62,7 +62,7 @@ public class MockRequestContextTest {
}
/**
- * Test if the given <code>character-encoding</code> is a valid
CharEncoding
+ * Test if the given {@code character-encoding} is a valid CharEncoding
*/
@Test
public void getCharset() {
@@ -77,7 +77,7 @@ public class MockRequestContextTest {
}
/**
- * Test if the given <code>character-encoding</code> is an invalid
CharEncoding
+ * Test if the given {@code character-encoding} is an invalid CharEncoding
* and leads to {@link UnsupportedCharsetException}
*/
@Test
@@ -93,7 +93,7 @@ public class MockRequestContextTest {
}
/**
- * Test the <code>toString()</code> Output
+ * Test the {@code toString()} Output
*/
@Test
public void testToString() {
@@ -108,7 +108,7 @@ public class MockRequestContextTest {
}
/**
- * Test if the <code>content-type</code> is <code>multipart/related</code>
+ * Test if the {@code content-type} is {@code multipart/related}
*/
@Test
public void testIsMultipartRelated() {
@@ -123,7 +123,7 @@ public class MockRequestContextTest {
}
/**
- * Test if the <code>content-type</code> is not
<code>multipart/related</code>
+ * Test if the {@code content-type} is not {@code multipart/related}
*/
@Test
public void testIsNotMultipartRelated() {