Skip to content

Commit 20fe471

Browse files
committed
Format lines that are longer than 120 characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458803 13f79535-47bb-0310-9956-ffa450edef68
1 parent c99e6d9 commit 20fe471

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ public class CSVRecord implements Serializable, Iterable<String> {
4545
/** The record number. */
4646
private final long recordNumber;
4747

48-
CSVRecord(final String[] values, final Map<String, Integer> mapping, final String comment, final long recordNumber) {
48+
CSVRecord(final String[] values, final Map<String, Integer> mapping,
49+
final String comment, final long recordNumber) {
4950
this.recordNumber = recordNumber;
5051
this.values = values != null ? values : EMPTY_STRING_ARRAY;
5152
this.mapping = mapping;
@@ -73,7 +74,8 @@ public String get(final int i) {
7374
*/
7475
public String get(final String name) {
7576
if (mapping == null) {
76-
throw new IllegalStateException("No header mapping was specified, the record values can't be accessed by name");
77+
throw new IllegalStateException(
78+
"No header mapping was specified, the record values can't be accessed by name");
7779
}
7880
final Integer index = mapping.get(name);
7981
return index != null ? values[index.intValue()] : null;

0 commit comments

Comments
 (0)