URIBuilder ub = new URIBuilder();
ub.setScheme(getScheme());
ub.setHost(host);
ub.setPort(getPort());
ub.setPath(getPath(seqProps, svcProps));
<BUG>final List<NameValuePair> params = URLEncodedUtils.parse(getQuery(seqProps, svcProps), Charset.forName("UTF-8"));
ub.setParameters(params);
ub.setFragment(getFragment(seqProps, svcProps));</BUG>
return ub.build();
}

URIBuilder ub = new URIBuilder();
ub.setScheme(getScheme());
ub.setHost(host);
ub.setPort(getPort());
ub.setPath(getPath(seqProps, svcProps));
final List<NameValuePair> params = URLEncodedUtils.parse(getQuery(seqProps, svcProps), Charset.forName("UTF-8"));
if (!params.isEmpty()) {
ub.setParameters(params);
}
ub.setFragment(getFragment(seqProps, svcProps));
return ub.build();
}
