Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

Commit 7ff3e14

Browse files
committed
Javadoc formatting.
1 parent 12a2ff4 commit 7ff3e14

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

src/main/java/org/apache/commons/csv/CSVRecord.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,13 @@ public String get(final int i) {
8383
/**
8484
* Returns a value by name.
8585
*
86-
* <p>Note: This requires a field mapping obtained from the original parser.
86+
* <p>
87+
* Note: This requires a field mapping obtained from the original parser.
8788
* A check using {@link #isMapped(String)} should be used to determine if a
88-
* mapping exists from the provide {@code name} to a field index. In this case an
89+
* mapping exists from the provided {@code name} to a field index. In this case an
8990
* exception will only be thrown if the record does not contain a field corresponding
9091
* to the mapping, that is the record length is not consistent with the mapping size.
92+
* </p>
9193
*
9294
* @param name
9395
* the name of the column to be retrieved.
@@ -150,8 +152,10 @@ private Map<String, Integer> getHeaderMapRaw() {
150152
/**
151153
* Returns the parser.
152154
*
153-
* <p>Note: The parser is not part of the serialized state of the record. A null check
155+
* <p>
156+
* Note: The parser is not part of the serialized state of the record. A null check
154157
* should be used when the record may have originated from a serialized form.
158+
* </p>
155159
*
156160
* @return the parser.
157161
* @since 1.7

src/test/java/org/apache/commons/csv/issues/JiraCsv248Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
public class JiraCsv248Test {
3333
/**
34-
* Test deserialisation of a CSVRecord create using version 1.6.
34+
* Test deserialisation of a CSVRecord created using version 1.6.
3535
*
3636
* <p>This test asserts that serialization from 1.8 onwards is consistent with
3737
* previous versions. Serialization was broken in version 1.7.
@@ -77,4 +77,4 @@ public void testJiraCsv248() throws IOException, ClassNotFoundException {
7777
private static InputStream getTestInput() {
7878
return ClassLoader.getSystemClassLoader().getResourceAsStream("CSV-248/csvRecord.bin");
7979
}
80-
}
80+
}

0 commit comments

Comments
 (0)