Skip to content

Commit f64cbff

Browse files
committed
Javadoc
1 parent 1054469 commit f64cbff

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ public final class CSVRecord implements Serializable, Iterable<String> {
5555
*/
5656
private final long bytePosition;
5757

58-
/** The accumulated comments (if any) */
58+
/** The accumulated comments (if any). */
5959
private final String comment;
6060

6161
/** The record number. */
6262
private final long recordNumber;
6363

64-
/** The values of the record */
64+
/** The values of the record. */
6565
private final String[] values;
6666

6767
/** The parser that originates this record. This is not serialized. */
@@ -114,9 +114,9 @@ public String get(final int i) {
114114
* the name of the column to be retrieved.
115115
* @return the column value, maybe null depending on {@link CSVFormat#getNullString()}.
116116
* @throws IllegalStateException
117-
* if no header mapping was provided
117+
* if no header mapping was provided.
118118
* @throws IllegalArgumentException
119-
* if {@code name} is not mapped or if the record is inconsistent
119+
* if {@code name} is not mapped or if the record is inconsistent.
120120
* @see #isMapped(String)
121121
* @see #isConsistent()
122122
* @see #getParser()
@@ -214,7 +214,7 @@ public long getRecordNumber() {
214214
* If there is no following record (that is, the comment is at EOF),
215215
* then the comment will be ignored.
216216
*
217-
* @return true if this record has a comment, false otherwise
217+
* @return true if this record has a comment, false otherwise.
218218
* @since 1.3
219219
*/
220220
public boolean hasComment() {
@@ -229,7 +229,7 @@ public boolean hasComment() {
229229
* test but still produce parsable files.
230230
* </p>
231231
*
232-
* @return true of this record is valid, false if not
232+
* @return true of this record is valid, false if not.
233233
*/
234234
public boolean isConsistent() {
235235
final Map<String, Integer> headerMap = getHeaderMapRaw();
@@ -252,8 +252,8 @@ public boolean isMapped(final String name) {
252252
* Checks whether a column with a given index has a value.
253253
*
254254
* @param index
255-
* a column index (0-based)
256-
* @return whether a column with a given index has a value
255+
* a column index (0-based).
256+
* @return whether a column with a given index has a value.
257257
*/
258258
public boolean isSet(final int index) {
259259
return 0 <= index && index < values.length;
@@ -264,7 +264,7 @@ public boolean isSet(final int index) {
264264
*
265265
* @param name
266266
* the name of the column to be retrieved.
267-
* @return whether a given column is mapped and has a value
267+
* @return whether a given column is mapped and has a value.
268268
*/
269269
public boolean isSet(final String name) {
270270
return isMapped(name) && getHeaderMapRaw().get(name).intValue() < values.length; // Explicit (un)boxing is intentional
@@ -283,7 +283,7 @@ public Iterator<String> iterator() {
283283
/**
284284
* Puts all values of this record into the given Map.
285285
*
286-
* @param <M> the map type
286+
* @param <M> the map type.
287287
* @param map The Map to populate.
288288
* @return the given map.
289289
* @since 1.9.0

0 commit comments

Comments
 (0)