Skip to content

Commit d51c31a

Browse files
authored
Merge d9493dc into 0dd730a
2 parents 0dd730a + d9493dc commit d51c31a

File tree

89 files changed

+519
-458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+519
-458
lines changed

core/src/main/java/org/mobilitydata/gtfsvalidator/notice/CsvParsingFailedNotice.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@
3131
@GtfsValidationNotice(severity = ERROR)
3232
public class CsvParsingFailedNotice extends ValidationNotice {
3333

34-
// The name of the faulty file.
34+
/** The name of the faulty file. */
3535
private final String filename;
3636

37-
// The location of the last character read from before the error occurred.
37+
/** The location of the last character read from before the error occurred. */
3838
private final long charIndex;
3939

40-
// The column index where the exception occurred.
40+
/** The column index where the exception occurred. */
4141
private final long columnIndex;
4242

43-
// The line number where the exception occurred.
43+
/** The line number where the exception occurred. */
4444
private final long lineIndex;
4545

46-
// The detailed message describing the error, and the internal state of the parser/writer.
46+
/** The detailed message describing the error, and the internal state of the parser/writer. */
4747
private final String message;
4848

49-
// The record number when the exception occurred.
49+
/** The record number when the exception occurred. */
5050
private final String parsedContent;
5151

5252
/**

core/src/main/java/org/mobilitydata/gtfsvalidator/notice/DuplicateKeyNotice.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,25 @@
3838
})
3939
public class DuplicateKeyNotice extends ValidationNotice {
4040

41-
// The name of the faulty file
41+
/** The name of the faulty file */
4242
private final String filename;
4343

44-
// The row of the first occurrence.
44+
/** The row of the first occurrence. */
4545
private final long oldCsvRowNumber;
4646

47-
// The row of the other occurrence.
47+
/** The row of the other occurrence. */
4848
private final long newCsvRowNumber;
4949

50-
// Composite key's first field name.
50+
/** Composite key's first field name. */
5151
private final String fieldName1;
5252

53-
// Composite key's first value.
53+
/** Composite key's first value. */
5454
private final Object fieldValue1;
5555

56-
// Composite key's second field name.
56+
/** Composite key's second field name. */
5757
@Nullable private final String fieldName2;
5858

59-
// Composite key's second value.
59+
/** Composite key's second value. */
6060
@Nullable private final Object fieldValue2;
6161

6262
public DuplicateKeyNotice(

core/src/main/java/org/mobilitydata/gtfsvalidator/notice/DuplicatedColumnNotice.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@
3737
})
3838
public class DuplicatedColumnNotice extends ValidationNotice {
3939

40-
// The name of the faulty file.
40+
/** The name of the faulty file. */
4141
private final String filename;
4242

43-
// The name of the faulty field.
43+
/** The name of the faulty field. */
4444
private final String fieldName;
4545

46-
// Index of the first occurrence.
46+
/** Index of the first occurrence. */
4747
private final int firstIndex;
4848

49-
// Index of the other occurrence.
49+
/** Index of the other occurrence. */
5050
private final int secondIndex;
5151

5252
public DuplicatedColumnNotice(

core/src/main/java/org/mobilitydata/gtfsvalidator/notice/EmptyColumnNameNotice.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
@GtfsValidationNotice(severity = ERROR, sections = @SectionRefs(FILE_REQUIREMENTS))
3030
public class EmptyColumnNameNotice extends ValidationNotice {
3131

32-
// The name of the faulty file.
32+
/** The name of the faulty file. */
3333
private final String filename;
3434

35-
// The index of the empty column.
35+
/** The index of the empty column. */
3636
private final int index;
3737

3838
public EmptyColumnNameNotice(String filename, int index) {

core/src/main/java/org/mobilitydata/gtfsvalidator/notice/EmptyFileNotice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
@GtfsValidationNotice(severity = ERROR, sections = @SectionRefs(FILE_REQUIREMENTS))
3030
public class EmptyFileNotice extends ValidationNotice {
3131

32-
// The name of the faulty file
32+
/** The name of the faulty file */
3333
private final String filename;
3434

3535
public EmptyFileNotice(String filename) {

core/src/main/java/org/mobilitydata/gtfsvalidator/notice/EmptyRowNotice.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
@GtfsValidationNotice(severity = WARNING, sections = @SectionRefs(FILE_REQUIREMENTS))
3333
public class EmptyRowNotice extends ValidationNotice {
3434

35-
// The name of the faulty file.
35+
/** The name of the faulty file. */
3636
private final String filename;
3737

38-
// The row number of the faulty record.
38+
/** The row number of the faulty record. */
3939
private final int csvRowNumber;
4040

4141
public EmptyRowNotice(String filename, int csvRowNumber) {

core/src/main/java/org/mobilitydata/gtfsvalidator/notice/ForeignKeyViolationNotice.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,22 @@
4141
})
4242
public class ForeignKeyViolationNotice extends ValidationNotice {
4343

44-
// The name of the file from which reference is made.
44+
/** The name of the file from which reference is made. */
4545
private final String childFilename;
4646

47-
// The name of the field that makes reference.
47+
/** The name of the field that makes reference. */
4848
private final String childFieldName;
4949

50-
// The name of the file that is referred to.
50+
/** The name of the file that is referred to. */
5151
private final String parentFilename;
5252

53-
// The name of the field that is referred to.
53+
/** The name of the field that is referred to. */
5454
private final String parentFieldName;
5555

56-
// The faulty record's value.
56+
/** The faulty record's value. */
5757
private final String fieldValue;
5858

59-
// The row of the faulty record.
59+
/** The row of the faulty record. */
6060
private final int csvRowNumber;
6161

6262
public ForeignKeyViolationNotice(

core/src/main/java/org/mobilitydata/gtfsvalidator/notice/IOError.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@
2929
@GtfsValidationNotice(severity = ERROR)
3030
public class IOError extends SystemError {
3131

32+
/** The name of the exception. */
3233
private final String exception;
3334

35+
/** The error message that explains the reason for the exception. */
3436
private final String message;
3537

3638
public IOError(IOException exception) {

core/src/main/java/org/mobilitydata/gtfsvalidator/notice/InvalidColorNotice.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@
3434
@GtfsValidationNotice(severity = ERROR, sections = @SectionRefs(FILED_TYPES))
3535
public class InvalidColorNotice extends ValidationNotice {
3636

37-
// The name of the faulty file.
37+
/** The name of the faulty file. */
3838
private final String filename;
3939

40-
// The row of the faulty record.
40+
/** The row of the faulty record. */
4141
private final int csvRowNumber;
4242

43-
// Faulty record's field name.
43+
/** Faulty record's field name. */
4444
private final String fieldName;
4545

46-
// Faulty value.
46+
/** Faulty value. */
4747
private final String fieldValue;
4848

4949
public InvalidColorNotice(

core/src/main/java/org/mobilitydata/gtfsvalidator/notice/InvalidCurrencyAmountNotice.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
@GtfsValidationNotice(severity = ERROR, sections = @SectionRefs(FILED_TYPES))
1919
public class InvalidCurrencyAmountNotice extends ValidationNotice {
2020

21-
// The name of the faulty file.
21+
/** The name of the faulty file. */
2222
private final String filename;
2323

24-
// Faulty record's field name.
24+
/** Faulty record's field name. */
2525
private final String fieldName;
2626

27-
// The row of the faulty record.
27+
/** The row of the faulty record. */
2828
private final int csvRowNumber;
2929

30-
// Faulty currency amount value.
30+
/** Faulty currency amount value. */
3131
private final String amount;
3232

3333
public InvalidCurrencyAmountNotice(

0 commit comments

Comments
 (0)