Use new String() to allocate string arguments before testing. 

Makes Java template allocate String arguments with the new operator. A common bug with new programmers / programmers who coded in a rush is to do == comparisons in simple problems. Like this thread: http://apps.topcoder.com/forums/?module=Thread&threadID=709720&start=0&mc=12#1380722