harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko" <mloe...@gmail.com>
Subject Re: [jira] Commented: (HARMONY-482) Some code compares Strings with == operator
Date Tue, 23 May 2006 11:27:42 GMT
it works! :)

2006/5/23, Mikhail Fursov <mike.fursov@gmail.com>:
> String post1=new String("POST");
> String post2=new String("POST");
>
> :)
>
>
> On 5/23/06, Mikhail Loenko <mloenko@gmail.com> wrote:
> >
> > This is the only way I've found to make
> > two different object instances of "POST" string, such that:
> >
> > post1.equals("POST");
> > AND
> > post2.equals("POST");
> > AND
> > post1!=post2
> >
> > Feel free to suggest another way
> >
> > Thanks,
> > Mikhail
> >
> > 2
>
>
>
>
> --
> Mikhail Fursov
> Intel Middleware Products Division
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message