Closed michael-zock closed 10 years ago
good catch!, however I'm thinking that sending the "null" string could be confusing. Since all parameters are optional on the REST listener, It will be better if the client just omit the null value completely.
Omitting the null values could lead to problems as well, but if you want I'll remove the else block.
This concerns something a colleague of mine ran into earlier. Without a precaution in this spot the service could run into a NullPointerException if a variable contains a null.