package sfBugs;

import edu.umd.cs.findbugs.annotations.DesireNoWarning;
import edu.umd.cs.findbugs.annotations.ExpectWarning;

public class RFE3026970 {
	private String get() { return null; }

	public void testDesireWarning() {
		if (get().equals("A"))
			System.out.println("test");
	}

	public void testDesireNoWarning() {
		if ("A".equals(get()))
			System.out.println("test");
	}
}

Add sample code for RFE 3026970
Add sample code for RFE 3026970

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