Removed uneeded parameters

This commit is contained in:
Luca Frosini 2022-07-18 16:34:56 +02:00
parent b3c254161c
commit ec50b30abc
1 changed files with 0 additions and 8 deletions

View File

@ -450,16 +450,8 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient {
Map<String,String> parameters = new HashMap<>();
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));
if(fetchPlan != null && fetchPlan.compareTo("")!=0) {
parameters.put(AccessPath.FETCH_PLAN_PARAM, fetchPlan);
}
includeAdditionalQueryParameters(gxHTTPStringRequest, parameters);
HttpURLConnection httpURLConnection = gxHTTPStringRequest.get();