@@ -0,0 +1,475 @@
+package sfBugs;%0A%0Aimport java.util.Calendar;%0Aimport java.util.GregorianCalendar;%0A%0Apublic class Bug1874856 %7B%0A%0A%09public static void main(String args%5B%5D) %7B%0A%09%09falsePositive();%0A%09%7D%0A%09%09%0A%09public static void falsePositive() %7B%0A%09%09  Calendar c = new GregorianCalendar(1993, 4, 23);%0A%09%09   String s1 = String.format(%22Duke's Birthday: %251$tm %251$te, %251$tY%22, c);%0A%09%09   System.out.println(s1);%0A%09%09   String s2 = String.format(%22Duke's Birthday: %251$tm %25%3Cte, %25%3CtY%22, c);%0A%09%09   System.out.println(s2);%0A%09%7D%0A%7D%0A

Add test case for problem with format string detector