Re: Antwort: Testing a password
Posted by
dscho on
Apr 07, 2010; 7:43am
URL: http://imagej.273.s1.nabble.com/Testing-a-password-tp3688636p3688638.html
Hi,
On Tue, 6 Apr 2010, Joachim Wesner wrote:
> You cannot compare a string in Java with "==", it will check if it is
> exactly **the same** object, not directly the contents!
FWIW this is only one of several gotchas that typically hit C++
programmers. We listed quite a few of the gotchas here:
http://pacific.mpi-cbg.de/wiki/index.php/Tips_for_C%2B%2B_developersCiao,
Johannes