From 99e1e3557b05291b57e2c64d22dae9b10751ed96 Mon Sep 17 00:00:00 2001 From: Sergio Salmeron Date: Sat, 2 Dec 2023 18:41:15 -0600 Subject: [PATCH] Made the classes final --- .../validationrules/line/LineFieldSeparatorValidationRule.java | 2 +- .../validationrules/line/LineLengthValidationRule.java | 2 +- .../validationrules/line/LineNumberOfColumnsValidationRule.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineFieldSeparatorValidationRule.java b/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineFieldSeparatorValidationRule.java index 55ff1ac..9703130 100644 --- a/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineFieldSeparatorValidationRule.java +++ b/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineFieldSeparatorValidationRule.java @@ -15,7 +15,7 @@ */ @ToString @AllArgsConstructor -public class LineFieldSeparatorValidationRule implements LineValidationRule { +public final class LineFieldSeparatorValidationRule implements LineValidationRule { private String fieldSeparator; diff --git a/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineLengthValidationRule.java b/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineLengthValidationRule.java index a0be75f..1df562a 100644 --- a/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineLengthValidationRule.java +++ b/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineLengthValidationRule.java @@ -5,7 +5,7 @@ @ToString @AllArgsConstructor -public class LineLengthValidationRule implements LineValidationRule { +public final class LineLengthValidationRule implements LineValidationRule { private int lineLength; @Override diff --git a/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineNumberOfColumnsValidationRule.java b/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineNumberOfColumnsValidationRule.java index e7e5314..f222be2 100644 --- a/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineNumberOfColumnsValidationRule.java +++ b/src/main/java/mx/com/salmeron/libraries/fileformatvalidator/validationrules/line/LineNumberOfColumnsValidationRule.java @@ -15,7 +15,7 @@ */ @ToString @AllArgsConstructor -public class LineNumberOfColumnsValidationRule implements LineValidationRule{ +public final class LineNumberOfColumnsValidationRule implements LineValidationRule{ private int numberOfColumns; private String fieldSeparator;