Skip to content

Commit

Permalink
Remove custom transport mode rule for Sweden (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpaturet authored Oct 21, 2024
1 parent ba1700e commit d87022c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,6 @@ protected List<ValidationRule> getCompositeFrameBaseValidationRules() {
return compositeFrameBaseValidationRules;
}

@Override
protected ValidationTree getServiceFrameValidationTreeForLineFile(
String path
) {
ValidationTree serviceFrameValidationTree =
super.getServiceFrameValidationTreeForLineFile(path);
// use valid transport mode for swedish data
serviceFrameValidationTree.removeValidationRule("TRANSPORT_MODE");
serviceFrameValidationTree.addValidationRule(
new SwedenValidateAllowedTransportMode()
);
return serviceFrameValidationTree;
}

@Override
protected ValidationTree getResourceFrameValidationTree(String path) {
ValidationTree resourceFrameValidationTree =
Expand Down

This file was deleted.

0 comments on commit d87022c

Please sign in to comment.