Changed implementation of DefaultTripAdapterFactory constructor