Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
qcdyx committed Jun 27, 2023
1 parent 88e132a commit d320958
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@
import org.mobilitydata.gtfsvalidator.table.GtfsFeedInfo;

/**
* Validate that if the dataset provides at least one of feed_contact_email and feed_contact_url in "feed_info.txt".
* Validate that if the dataset provides at least one of feed_contact_email and feed_contact_url in
* "feed_info.txt".
*/
@GtfsValidator
public class FeedContactValidator extends SingleEntityValidator<GtfsFeedInfo> {

/**
* Best Practices https://gtfs.org/schedule/best-practices/#feed_infotxt
* suggest providing at least one of feed_contact_email and feed_contact_url
* Best Practices https://gtfs.org/schedule/best-practices/#feed_infotxt suggest providing at
* least one of feed_contact_email and feed_contact_url
*
* @param entity
* @param noticeContainer
*/
Expand All @@ -30,9 +32,7 @@ public void validate(GtfsFeedInfo entity, NoticeContainer noticeContainer) {
}
}

/**
* Only generates a warning when both feed_contact_email and feed_contact_url are unset
*/
/** Only generates a warning when both feed_contact_email and feed_contact_url are unset */
@GtfsValidationNotice(
severity = WARNING,
files = @GtfsValidationNotice.FileRefs(GtfsFeedInfo.class),
Expand Down

0 comments on commit d320958

Please sign in to comment.