|
32 | 32 | * <p> |
33 | 33 | * Note: Support for {@link Serializable} is scheduled to be removed in version 2.0. |
34 | 34 | * In version 1.8 the mapping between the column header and the column index was |
35 | | - * removed from the serialised state. The class maintains serialization compatibility |
| 35 | + * removed from the serialized state. The class maintains serialization compatibility |
36 | 36 | * with versions pre-1.8 for the record values; these must be accessed by index |
37 | | - * following deserialization. There will be loss of any functionally linked to the header |
38 | | - * mapping when transferring serialised forms pre-1.8 to 1.8 and vice versa. |
| 37 | + * following deserialization. There will be a loss of any functionally linked to the header |
| 38 | + * mapping when transferring serialized forms pre-1.8 to 1.8 and vice versa. |
39 | 39 | * </p> |
40 | 40 | */ |
41 | 41 | public final class CSVRecord implements Serializable, Iterable<String> { |
@@ -143,8 +143,8 @@ public long getCharacterPosition() { |
143 | 143 | /** |
144 | 144 | * Returns the comment for this record, if any. |
145 | 145 | * Note that comments are attached to the following record. |
146 | | - * If there is no following record (i.e. the comment is at EOF) |
147 | | - * the comment will be ignored. |
| 146 | + * If there is no following record (i.e. the comment is at EOF), |
| 147 | + * then the comment will be ignored. |
148 | 148 | * |
149 | 149 | * @return the comment for this record, or null if no comment for this record is available. |
150 | 150 | */ |
@@ -189,8 +189,8 @@ public long getRecordNumber() { |
189 | 189 | /** |
190 | 190 | * Checks whether this record has a comment, false otherwise. |
191 | 191 | * Note that comments are attached to the following record. |
192 | | - * If there is no following record (i.e. the comment is at EOF) |
193 | | - * the comment will be ignored. |
| 192 | + * If there is no following record (i.e. the comment is at EOF), |
| 193 | + * then the comment will be ignored. |
194 | 194 | * |
195 | 195 | * @return true if this record has a comment, false otherwise |
196 | 196 | * @since 1.3 |
@@ -227,22 +227,22 @@ public boolean isMapped(final String name) { |
227 | 227 | } |
228 | 228 |
|
229 | 229 | /** |
230 | | - * Checks whether a column with given index has a value. |
| 230 | + * Checks whether a column with a given index has a value. |
231 | 231 | * |
232 | 232 | * @param index |
233 | 233 | * a column index (0-based) |
234 | | - * @return whether a column with given index has a value |
| 234 | + * @return whether a column with a given index has a value |
235 | 235 | */ |
236 | 236 | public boolean isSet(final int index) { |
237 | 237 | return 0 <= index && index < values.length; |
238 | 238 | } |
239 | 239 |
|
240 | 240 | /** |
241 | | - * Checks whether a given columns is mapped and has a value. |
| 241 | + * Checks whether a given column is mapped and has a value. |
242 | 242 | * |
243 | 243 | * @param name |
244 | 244 | * the name of the column to be retrieved. |
245 | | - * @return whether a given columns is mapped and has a value |
| 245 | + * @return whether a given column is mapped and has a value |
246 | 246 | */ |
247 | 247 | public boolean isSet(final String name) { |
248 | 248 | return isMapped(name) && getHeaderMapRaw().get(name).intValue() < values.length; |
@@ -311,8 +311,8 @@ public List<String> toList() { |
311 | 311 | } |
312 | 312 |
|
313 | 313 | /** |
314 | | - * Copies this record into a new Map of header name to record value. If multiple instances of a header name exists, |
315 | | - * only the last occurrence is mapped. |
| 314 | + * Copies this record into a new Map of header name to record value. If multiple instances of a header name exist, |
| 315 | + * then only the last occurrence is mapped. |
316 | 316 | * |
317 | 317 | * <p> |
318 | 318 | * Editing the map does not update this instance. |
|
0 commit comments