Migrate time zone from abstract method to simple property.

This commit is contained in:
Andreas Schildbach 2014-07-14 22:37:29 +02:00
parent bff85b9f6c
commit e691e7c2fb
16 changed files with 52 additions and 115 deletions

View file

@ -17,8 +17,6 @@
package de.schildbach.pte;
import java.util.TimeZone;
/**
* @author Andreas Schildbach
*/
@ -31,6 +29,7 @@ public class SydneyProvider extends AbstractEfaProvider
{
super(API_BASE);
setTimeZone("Australia/Sydney");
setUseRouteIndexAsTripId(false);
}
@ -39,12 +38,6 @@ public class SydneyProvider extends AbstractEfaProvider
return NETWORK_ID;
}
@Override
protected TimeZone timeZone()
{
return TimeZone.getTimeZone("Australia/Sydney");
}
public boolean hasCapabilities(final Capability... capabilities)
{
for (final Capability capability : capabilities)