Skip to content

Commit

Permalink
Issue #1409 - fix QueryParameterValue.toString check
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Schroeder <mschroed@us.ibm.com>
  • Loading branch information
michaelwschroeder committed May 10, 2021
1 parent b96a20f commit c7653ff
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ public String toString() {
delim = outputBuilder(returnString, delim, valueDate);

// Special handling required for token search of form "system|". In that case, valueSystem
// will not be null, but all following values will be null, so the above processing will
// will not be null, but all other values will be null, so the above processing will
// not append the delimiter. Check if we have that case, and if so, append the delimiter.
if (valueSystem != null && valueCode == null && valueString == null && valueDate == null) {
if (valueSystem != null && valueNumber == null && valueCode == null && valueString == null && valueDate == null) {
returnString.append(SearchConstants.PARAMETER_DELIMITER);
}

Expand Down

0 comments on commit c7653ff

Please sign in to comment.