Makes peace with Java 5 over String#isEmpty() used in r6234 i.e. fixes the build.

cusax-fix
Lyubomir Marinov 17 years ago
parent 2160122588
commit 29c6aa082b

@ -145,9 +145,9 @@ static boolean formatParametersAreEqual(
* Since the values are strings, allow null to be equal to the
* empty string.
*/
if ((value1 == null) || value1.isEmpty())
if ((value1 == null) || (value1.length() == 0))
{
if ((value2 != null) && !value2.isEmpty())
if ((value2 != null) && (value2.length() != 0))
return false;
}
else if (!value1.equals(value2))

Loading…
Cancel
Save