private Pelias() {
initService(DEFAULT_SERVICE_ENDPOINT);
}
private void initService(String serviceEndpoint) {
RestAdapter restAdapter = new RestAdapter.Builder()
<BUG>.setEndpoint(serviceEndpoint)
.build();</BUG>
this.service = restAdapter.create(PeliasService.class);
}
public static Pelias getPeliasWithEndpoint(String endpoint) {

private Pelias() {
initService(DEFAULT_SERVICE_ENDPOINT);
}
private void initService(String serviceEndpoint) {
RestAdapter restAdapter = new RestAdapter.Builder()
.setEndpoint(serviceEndpoint)
.setLogLevel(RestAdapter.LogLevel.FULL)
.build();
this.service = restAdapter.create(PeliasService.class);
}
public static Pelias getPeliasWithEndpoint(String endpoint) {
