AbstractHafasClientInterfaceProvider: Require API version 1.14 or higher, as older versions are not in use any more.

This commit is contained in:
Andreas Schildbach 2019-01-09 12:46:31 +01:00
parent d92989cbe7
commit 979a5c95a4

View file

@ -127,7 +127,7 @@ public abstract class AbstractHafasClientInterfaceProvider extends AbstractHafas
}
protected AbstractHafasClientInterfaceProvider setApiVersion(final String apiVersion) {
checkArgument(apiVersion.compareToIgnoreCase("1.11") >= 0, "apiVersion must be 1.11 or higher");
checkArgument(apiVersion.compareToIgnoreCase("1.14") >= 0, "apiVersion must be 1.14 or higher");
this.apiVersion = apiVersion;
return this;
}