@@ -189,11 +189,11 @@ public void cacheServiceUpdates(@NonNull List<ServiceUpdate> newServiceUpdates)
189189 @ Nullable
190190 @ Override
191191 public List <ServiceUpdate > getCachedServiceUpdates (@ NonNull Filter serviceUpdateFilter ) {
192- if (( serviceUpdateFilter .getPoi () instanceof RouteDirectionStop ) ) {
192+ if (serviceUpdateFilter .getPoi () instanceof RouteDirectionStop ) {
193193 return getCachedServiceUpdates ((RouteDirectionStop ) serviceUpdateFilter .getPoi ());
194- } else if (( serviceUpdateFilter .getRouteDirection () != null ) ) {
194+ } else if (serviceUpdateFilter .getRouteDirection () != null ) {
195195 return getCachedServiceUpdates (serviceUpdateFilter .getRouteDirection ());
196- } else if (( serviceUpdateFilter .getRoute () != null ) ) {
196+ } else if (serviceUpdateFilter .getRoute () != null ) {
197197 return getCachedServiceUpdates (serviceUpdateFilter .getRoute ());
198198 } else {
199199 MTLog .w (this , "getCachedServiceUpdates() > no service update (poi null or not RDS or no route)" );
@@ -314,11 +314,11 @@ private int deleteAllAgencyServiceUpdateData() {
314314 @ Nullable
315315 @ Override
316316 public List <ServiceUpdate > getNewServiceUpdates (@ NonNull Filter serviceUpdateFilter ) {
317- if (( serviceUpdateFilter .getPoi () instanceof RouteDirectionStop ) ) {
317+ if (serviceUpdateFilter .getPoi () instanceof RouteDirectionStop ) {
318318 return getNewServiceUpdates ((RouteDirectionStop ) serviceUpdateFilter .getPoi (), serviceUpdateFilter .isInFocusOrDefault ());
319- } else if (( serviceUpdateFilter .getRouteDirection () != null ) ) {
319+ } else if (serviceUpdateFilter .getRouteDirection () != null ) {
320320 return getNewServiceUpdates (serviceUpdateFilter .getRouteDirection (), serviceUpdateFilter .isInFocusOrDefault ());
321- } else if (( serviceUpdateFilter .getRoute () != null ) ) {
321+ } else if (serviceUpdateFilter .getRoute () != null ) {
322322 return getNewServiceUpdates (serviceUpdateFilter .getRoute (), serviceUpdateFilter .isInFocusOrDefault ());
323323 } else {
324324 MTLog .w (this , "getNewServiceUpdates() > no service update (poi null or not RDS or no route)" );
0 commit comments