diff --git a/pom.xml b/pom.xml index f71801c7..7f5f4733 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ dev.katsute onemta - 2.0.5 + 2.1.0 diff --git a/src/main/java/dev/katsute/onemta/MTASchema_LIRR.java b/src/main/java/dev/katsute/onemta/MTASchema_LIRR.java index 275d1eaa..ec8795cf 100644 --- a/src/main/java/dev/katsute/onemta/MTASchema_LIRR.java +++ b/src/main/java/dev/katsute/onemta/MTASchema_LIRR.java @@ -197,7 +197,6 @@ static Stop asStop(final MTA mta, final int stop_id){ private final Integer stopID = stop_id; private final String stopCode = row.get(csv.getHeaderIndex("stop_code")); private final String stopName = row.get(csv.getHeaderIndex("stop_name")); - private final String stopDesc = row.get(csv.getHeaderIndex("stop_desc")); private final Double stopLat = Double.valueOf(row.get(csv.getHeaderIndex("stop_lat"))); private final Double stopLon = Double.valueOf(row.get(csv.getHeaderIndex("stop_lon"))); @@ -222,11 +221,6 @@ public final String getStopName(){ return stopName; } - @Override - public final String getStopDescription(){ - return stopDesc; - } - @Override public final Double getLatitude(){ return stopLat; @@ -332,7 +326,6 @@ public final String toString(){ "stopID=" + stopID + ", stopCode='" + stopCode + '\'' + ", stopName='" + stopName + '\'' + - ", stopDesc='" + stopDesc + '\'' + ", stopLat=" + stopLat + ", stopLon=" + stopLon + ", wheelchairAccessible=" + wheelchairAccessible + diff --git a/src/main/java/dev/katsute/onemta/MTASchema_MNR.java b/src/main/java/dev/katsute/onemta/MTASchema_MNR.java index ce8068d8..278907ac 100644 --- a/src/main/java/dev/katsute/onemta/MTASchema_MNR.java +++ b/src/main/java/dev/katsute/onemta/MTASchema_MNR.java @@ -183,7 +183,6 @@ static Stop asStop(final MTA mta, final int stop_id){ private final Integer stopID = stop_id; private final String stopCode = row.get(csv.getHeaderIndex("stop_code")); private final String stopName = row.get(csv.getHeaderIndex("stop_name")); - private final String stopDesc = row.get(csv.getHeaderIndex("stop_desc")); private final Double stopLat = Double.valueOf(row.get(csv.getHeaderIndex("stop_lat"))); private final Double stopLon = Double.valueOf(row.get(csv.getHeaderIndex("stop_lon"))); @@ -208,11 +207,6 @@ public final String getStopName(){ return stopName; } - @Override - public final String getStopDescription(){ - return stopDesc; - } - @Override public final Double getLatitude(){ return stopLat; @@ -307,7 +301,6 @@ public final String toString(){ "stopID=" + stopID + ", stopCode='" + stopCode + '\'' + ", stopName='" + stopName + '\'' + - ", stopDesc='" + stopDesc + '\'' + ", stopLat=" + stopLat + ", stopLon=" + stopLon + ", wheelchairAccessible=" + wheelchairAccessible + diff --git a/src/main/java/dev/katsute/onemta/railroad/LIRR.java b/src/main/java/dev/katsute/onemta/railroad/LIRR.java index 7079509e..4aadba02 100644 --- a/src/main/java/dev/katsute/onemta/railroad/LIRR.java +++ b/src/main/java/dev/katsute/onemta/railroad/LIRR.java @@ -67,15 +67,6 @@ public abstract static class Stop extends TransitStop { */ public abstract String getStopCode(); - /** - * Returns the stop description. - * - * @return route description - * - * @since 1.0.0 - */ - public abstract String getStopDescription(); - /** * Returns if the stop is wheelchair accessible. * diff --git a/src/main/java/dev/katsute/onemta/railroad/MNR.java b/src/main/java/dev/katsute/onemta/railroad/MNR.java index b09d5779..39c0214d 100644 --- a/src/main/java/dev/katsute/onemta/railroad/MNR.java +++ b/src/main/java/dev/katsute/onemta/railroad/MNR.java @@ -65,15 +65,6 @@ public abstract static class Stop extends TransitStop { */ public abstract String getStopCode(); - /** - * Returns the stop description. - * - * @return route description - * - * @since 1.0.0 - */ - public abstract String getStopDescription(); - /** * Returns if the stop is wheelchair accessible. * diff --git a/src/test/java/dev/katsute/onemta/lirr/TestLIRRStop.java b/src/test/java/dev/katsute/onemta/lirr/TestLIRRStop.java index 4afd1183..59fb95b5 100644 --- a/src/test/java/dev/katsute/onemta/lirr/TestLIRRStop.java +++ b/src/test/java/dev/katsute/onemta/lirr/TestLIRRStop.java @@ -34,7 +34,6 @@ final void testVehicles(){ @Test final void testStop(){ assertNotNull(stop.getStopCode()); - assertNotNull(stop.getStopDescription()); assertNotNull(stop.hasWheelchairBoarding()); } diff --git a/src/test/java/dev/katsute/onemta/mnr/TestMNRStop.java b/src/test/java/dev/katsute/onemta/mnr/TestMNRStop.java index e4b03a5d..afd9eeab 100644 --- a/src/test/java/dev/katsute/onemta/mnr/TestMNRStop.java +++ b/src/test/java/dev/katsute/onemta/mnr/TestMNRStop.java @@ -33,7 +33,6 @@ final void testVehicles(){ @Test final void testStop(){ assertNotNull(stop.getStopCode()); - assertNotNull(stop.getStopDescription()); assertNotNull(stop.hasWheelchairBoarding()); }