Skip to content

Commit

Permalink
Check for null
Browse files Browse the repository at this point in the history
  • Loading branch information
ivakegg committed Dec 19, 2023
1 parent 5002f5f commit dfb01d6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,9 @@ private Query createSettings(MultivaluedMap<String,String> queryParameters) {
Query query = responseObjectFactory.getQueryImpl();
if (queryParameters != null) {
MultivaluedMap<String,String> parms = new MultivaluedMapImpl<>();
parms.putAll(defaultOptionalParams);
if (defaultOptionalParams != null) {
parms.putAll(defaultOptionalParams);
}
String params = queryParameters.getFirst(QueryParameters.QUERY_PARAMS);
if (params != null) {
for (QueryImpl.Parameter pm : QueryUtil.parseParameters(params)) {
Expand Down

0 comments on commit dfb01d6

Please sign in to comment.