package sfBugs;

public class Bug1948275 {
	public static String trim(String value) {
		return value == null ? value : value.trim(); // should not report
	}
	
	public static String trim2(String value) {
		if(value == null) {
			return value; // should not report
		}
		return "Hello";
	}

	public static String trim3(String value) {
		if(value == null) {
			String s = "Hello";
			s += value; // should report
			return s;
		}
		return "Hello";
	}
}

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

git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@9535 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
