In this answer, in handleTestCaseFinished()
the value of String id
starts with ""
. Why is that? (Not singling this answer out, I've seen it somewhere else before, but this one prompted me to get an answer.)
Choosing search terms for Google has proven to be particularly difficult.
I've tested this with:
String s1 = System.getenv("JAVA_HOME");
String s2 = "" + System.getenv("JAVA_HOME");
System.out.println(s1.equals(s2) ? "true" : "false");
I also didn't notice a difference using the debugger in IntelliJ IDEA. Maybe this was not the way to test this?