On 2/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
but isnt string identity guaranteed for equal strings because the jvm pools
them?
so String a=new String("a");
String b=new String("ab").substring(0,1);
b==a

Don't know for 1.5, but this type of code was a sure way to get a
flogging in the 1.4 days.

Martijn

--
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org

Reply via email to