@@ -0,0 +1,450 @@
+package sfBugs;%0A%0Apublic class Bug1948275 %7B%0A%09public static String trim(String value) %7B%0A%09%09return value == null ? value : value.trim(); // should not report%0A%09%7D%0A%09%0A%09public static String trim2(String value) %7B%0A%09%09if(value == null) %7B%0A%09%09%09return value; // should not report%0A%09%09%7D%0A%09%09return %22Hello%22;%0A%09%7D%0A%0A%09public static String trim3(String value) %7B%0A%09%09if(value == null) %7B%0A%09%09%09String s = %22Hello%22;%0A%09%09%09s += value; // should report%0A%09%09%09return s;%0A%09%09%7D%0A%09%09return %22Hello%22;%0A%09%7D%0A%7D%0A

Test case for [1948275] Unhelpful "Load of known null"