Skip to content

Commit

Permalink
Removed some commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
jcpitre committed Sep 4, 2024
1 parent b82b39b commit 8bdab6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,60 +29,4 @@ public boolean hasLocationId() {
public void setLocationId(@Nullable String locationId) {
this.locationId = locationId;
}

// public static final class Builder implements GtfsEntityBuilder<GtfsJson> {
// private static final String DEFAULT_LOCATION_ID = null;
// private int csvRowNumber;
//
// private String locationId;
//
// public Builder() {
// // Initialize all fields to default values.
// clear();
// }
//
// @Override
// public int csvRowNumber() {
// return csvRowNumber;
// }
//
// @Override
// public GtfsJson.Builder setCsvRowNumber(int value) {
// csvRowNumber = value;
// return this;
// }
//
// @Nonnull
// public String locationId() {
// return locationId;
// }
//
// @Nonnull
// public GtfsJson.Builder setLocationId(@Nullable String value) {
// if (value == null) {
// return clearLocationId();
// }
// locationId = value;
// return this;
// }
//
// @Nonnull
// public GtfsJson.Builder clearLocationId() {
// locationId = DEFAULT_LOCATION_ID;
// return this;
// }
//
// @Override
// public GtfsJson build() {
// GtfsJson entity = new GtfsJson();
//
// return entity;
// }
//
// @Override
// public void clear() {
// csvRowNumber = 0;
// locationId = DEFAULT_LOCATION_ID;
// }
// }
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
import org.mobilitydata.gtfsvalidator.notice.NoticeContainer;

public class GtfsGeojsonFileDescriptor<T extends GtfsEntity>
extends GtfsFileDescriptor<GtfsGeojsonFeature>
// GtfsDescriptor<T>
{
extends GtfsFileDescriptor<GtfsGeojsonFeature> {

public GtfsGeojsonFeaturesContainer createContainerForEntities(
List<T> entities, NoticeContainer noticeContainer) {
Expand Down

0 comments on commit 8bdab6d

Please sign in to comment.