I know that == has some issues when comparing two Strings. It seems that String.equals() is a better approach. Well, I\'m doing JUni
==
Strings
String.equals()
public class StringEqualityTest extends TestCase { public void testEquality() throws Exception { String a = "abcde"; String b = new String(a); assertTrue(a.equals(b)); assertFalse(a == b); assertEquals(a, b); } }