mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 16:20:34 +00:00
fixed parsing again too much
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@77 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
5b1f74082c
commit
ed54c30d46
2 changed files with 2 additions and 2 deletions
|
@ -449,7 +449,7 @@ public final class BahnProvider implements NetworkProvider
|
|||
final List<Departure> departures = new ArrayList<Departure>(8);
|
||||
|
||||
// choose matcher
|
||||
final Matcher mDepCoarse = P_DEPARTURES_COARSE.matcher(page);
|
||||
final Matcher mDepCoarse = P_DEPARTURES_COARSE.matcher(mHeadCoarse.group(1));
|
||||
while (mDepCoarse.find())
|
||||
{
|
||||
final Matcher mDepFine = P_DEPARTURES_FINE.matcher(mDepCoarse.group(1));
|
||||
|
|
|
@ -510,7 +510,7 @@ public class MvvProvider implements NetworkProvider
|
|||
|
||||
final Calendar calendar = new GregorianCalendar();
|
||||
|
||||
final Matcher mDepCoarse = P_DEPARTURES_COARSE.matcher(page);
|
||||
final Matcher mDepCoarse = P_DEPARTURES_COARSE.matcher(mHeadCoarse.group(1));
|
||||
while (mDepCoarse.find())
|
||||
{
|
||||
final Matcher mDepFine = P_DEPARTURES_FINE.matcher(mDepCoarse.group(1));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue