From ae4b178c770549aa0e4725c5f9684b1715486241 Mon Sep 17 00:00:00 2001 From: Jingsi Lu Date: Tue, 4 Feb 2025 15:39:01 -0500 Subject: [PATCH] removed Flex notice on report --- .../report/model/FeatureMetadata.java | 4 ---- .../gtfsvalidator/report/model/FeedMetadata.java | 10 ---------- main/src/main/resources/report.html | 15 --------------- 3 files changed, 29 deletions(-) diff --git a/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/FeatureMetadata.java b/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/FeatureMetadata.java index dc190746f2..47721e8f76 100644 --- a/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/FeatureMetadata.java +++ b/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/FeatureMetadata.java @@ -16,10 +16,6 @@ public String getFeatureName() { return featureName; } - public String getFeatureGroup() { - return featureGroup; - } - public String getDocUrl() { String formattedFeatureName = featureName.toLowerCase().replace(' ', '-'); String formattedFeatureGroup = featureGroup.toLowerCase().replace(' ', '_'); diff --git a/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/FeedMetadata.java b/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/FeedMetadata.java index 60411d7d37..aa65b8e09c 100644 --- a/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/FeedMetadata.java +++ b/main/src/main/java/org/mobilitydata/gtfsvalidator/report/model/FeedMetadata.java @@ -618,14 +618,4 @@ public void setFilenames(ImmutableSortedSet filenames) { public ImmutableSortedSet getFilenames() { return filenames; } - - public Boolean hasFlexFeatures() { - return specFeatures.keySet().stream() - .anyMatch( - feature -> - feature.getFeatureGroup() != null - && feature.getFeatureGroup().equals("Flexible Services") - && !Objects.equals(feature.getFeatureName(), "Continuous Stops") - && specFeatures.get(feature)); - } } diff --git a/main/src/main/resources/report.html b/main/src/main/resources/report.html index 78c73bba71..813ef72028 100644 --- a/main/src/main/resources/report.html +++ b/main/src/main/resources/report.html @@ -221,14 +221,6 @@ align-content: center; flex-wrap: wrap; } - - .warning-display { - padding: 10px; - border: solid 2px orange; - border-radius: 11px; - width: fit-content; - font-weight: bold; - } @@ -247,13 +239,6 @@

GTFS Schedule Validation Report

Use this report alongside our documentation.

-
-

- ⚠ This feed contains GTFS Flex features. Please note that GTFS Flex validation support is still in development. - You can manually review all the validation rules for Flex data here. -

-
-

A new version of the Canonical GTFS Schedule validator is available! Please update to get the latest/best validation results.