// ack-final-indicator is optional: default to "Y".
- if (ackFinalIndicator == null) {
+ if (ackFinalIndicator == null || ackFinalIndicator.trim().isEmpty()) {
ackFinalIndicator = "Y";
}
response.addParam(tagName, tagValue);
}
+
return response;
} catch (ParseException e) {
throw e;