I have some String variables which are getting the values from invoking the function getParameter()
and some of this variables will probably be null
.
Later, I will evaluate this variables using equals()
method.
Should I set all the String variables to the empty String (""
) if they are null
to avoid any problems?