Skip to content

Commit 5c4f415

Browse files
committed
Remove unnecessary comment
1 parent a2c1810 commit 5c4f415

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

gbfs-validator-java/src/main/java/org/entur/gbfs/validation/model/FileValidationResult.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,11 @@ public record FileValidationResult(
4747
List<ValidatorError> validatorErrors
4848
) implements ValidationResultComponentIdentity<FileValidationResult> {
4949

50-
// Canonical constructor provided by record will be used.
51-
// For defensive copying if needed, a custom compact constructor could be added:
5250
public FileValidationResult {
53-
// Make defensive copies if lists are mutable and external
5451
errors = new ArrayList<>(errors);
5552
validatorErrors = new ArrayList<>(validatorErrors);
5653
}
57-
58-
54+
5955
@Override
6056
public String toString() {
6157
return "FileValidationResult{" +

0 commit comments

Comments
 (0)