fixed NPE

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@190 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-09-25 08:20:54 +00:00
parent be28226673
commit d52cbe5b93

View file

@ -312,7 +312,7 @@ public class OebbProvider implements NetworkProvider
final String linkLater = mHead.group(5) != null ? ParserUtils.resolveEntities(mHead.group(5)) : null;
final List<Connection> connections = new ArrayList<Connection>();
Date lastDate = null;
Date lastDate = currentDate;
final Matcher mConCoarse = P_CONNECTIONS_COARSE.matcher(page);
while (mConCoarse.find())