Hi,

We were using Jetty 8 and now trying to upgrade on Jetty 9. The below piece
of code has different results in both versions of Jetty.

if (a != "")

Where a is string variable.

I understand the code is wrong, we should always use a.equals for
comparison. But we have it at so many places, but not sure why Jetty 8 and
Jetty 9 have different results for it.

Please let me know.

Thanks
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to