From e92aa098a08b6db0cdf46c2bc6f752cda3f15f90 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Wed, 15 Feb 2017 13:13:12 +0100 Subject: [PATCH] =?UTF-8?q?PACA:=20Remove=20provider=20for=20Provence-Alpe?= =?UTF-8?q?s-C=C3=B4te=20d'Azur.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../schildbach/pte/AbstractTsiProvider.java | 731 ------------------ enabler/src/de/schildbach/pte/NetworkId.java | 2 +- .../src/de/schildbach/pte/PacaProvider.java | 56 -- .../pte/live/PacaProviderLiveTest.java | 175 ----- 4 files changed, 1 insertion(+), 963 deletions(-) delete mode 100644 enabler/src/de/schildbach/pte/AbstractTsiProvider.java delete mode 100644 enabler/src/de/schildbach/pte/PacaProvider.java delete mode 100644 enabler/test/de/schildbach/pte/live/PacaProviderLiveTest.java diff --git a/enabler/src/de/schildbach/pte/AbstractTsiProvider.java b/enabler/src/de/schildbach/pte/AbstractTsiProvider.java deleted file mode 100644 index f81bf547..00000000 --- a/enabler/src/de/schildbach/pte/AbstractTsiProvider.java +++ /dev/null @@ -1,731 +0,0 @@ -/* - * Copyright 2014-2015 the original author or authors. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -package de.schildbach.pte; - -import java.io.IOException; -import java.text.DateFormat; -import java.text.ParseException; -import java.text.SimpleDateFormat; -import java.util.ArrayList; -import java.util.Calendar; -import java.util.Collection; -import java.util.Collections; -import java.util.Date; -import java.util.EnumSet; -import java.util.HashMap; -import java.util.List; -import java.util.Locale; -import java.util.Map; -import java.util.Set; -import java.util.TimeZone; - -import javax.annotation.Nullable; - -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -import de.schildbach.pte.dto.Line; -import de.schildbach.pte.dto.Location; -import de.schildbach.pte.dto.LocationType; -import de.schildbach.pte.dto.NearbyLocationsResult; -import de.schildbach.pte.dto.Point; -import de.schildbach.pte.dto.Product; -import de.schildbach.pte.dto.QueryDeparturesResult; -import de.schildbach.pte.dto.QueryTripsContext; -import de.schildbach.pte.dto.QueryTripsResult; -import de.schildbach.pte.dto.ResultHeader; -import de.schildbach.pte.dto.Stop; -import de.schildbach.pte.dto.SuggestLocationsResult; -import de.schildbach.pte.dto.SuggestedLocation; -import de.schildbach.pte.dto.Trip; -import de.schildbach.pte.exception.ParserException; - -import okhttp3.HttpUrl; - -/** - * @author Kjell Braden - */ -public abstract class AbstractTsiProvider extends AbstractNetworkProvider { - private static class Context implements QueryTripsContext { - private static final long serialVersionUID = -6847355540229473013L; - - public final Location from; - public final Collection products; - public final Location to; - public final Location via; - public final WalkSpeed walkSpeed; - - public Date earliestArrival; - public Date latestDeparture; - - public Context(final Location from, final Location via, final Location to, final Collection products, - final WalkSpeed walkSpeed, final Accessibility accessibility, final Set