Removed uneeded parameters
This commit is contained in:
parent
b3c254161c
commit
ec50b30abc
|
@ -450,16 +450,8 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient {
|
||||||
|
|
||||||
Map<String,String> parameters = new HashMap<>();
|
Map<String,String> parameters = new HashMap<>();
|
||||||
parameters.put(AccessPath.QUERY_PARAM, query);
|
parameters.put(AccessPath.QUERY_PARAM, query);
|
||||||
if(limit <= 0) {
|
|
||||||
limit = AccessPath.UNBOUNDED;
|
|
||||||
}
|
|
||||||
parameters.put(AccessPath.LIMIT_PARAM, Integer.toString(limit));
|
|
||||||
parameters.put(AccessPath.RAW_PARAM, Boolean.toString(raw));
|
parameters.put(AccessPath.RAW_PARAM, Boolean.toString(raw));
|
||||||
|
|
||||||
if(fetchPlan != null && fetchPlan.compareTo("")!=0) {
|
|
||||||
parameters.put(AccessPath.FETCH_PLAN_PARAM, fetchPlan);
|
|
||||||
}
|
|
||||||
|
|
||||||
includeAdditionalQueryParameters(gxHTTPStringRequest, parameters);
|
includeAdditionalQueryParameters(gxHTTPStringRequest, parameters);
|
||||||
|
|
||||||
HttpURLConnection httpURLConnection = gxHTTPStringRequest.get();
|
HttpURLConnection httpURLConnection = gxHTTPStringRequest.get();
|
||||||
|
|
Loading…
Reference in New Issue