It is not wrong!! It says assigned but never accessed! Look at the status line or at the tooltip.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Marc Wirth > Sent: 08 February 2002 10:33 > To: [EMAIL PROTECTED] > Subject: [Eap-list] 602 Wrong detection of unused variable > > > Hi all, > > using the following example: > > public static void test() > { > int count = 0; > try { > count = Integer.parseInt(System.getProperty("test")); > } catch (NumberFormatException e) { > } > count = 2; > } > > The definition of "count" in the third line is marked as > unused (yellow indicator on the right, colored as "unused symbol"). > > Regards, > Marc Wirth > > > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-> list > > _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
