Community
Participate
Working Groups
BETA_JAVA7 Don't propose "Add multi-catch clause to surrounding try" if only one exception is thrown: int m4() throws FileNotFoundException { if ("abc".length() == 3) { FileInputStream fis = new FileInputStream("/tmp/bla"); try { return fis.available(); // QF here } finally { fis.close(); } } return 1; }
Created attachment 199367 [details] fix + tests Fixed in BETA_JAVA7
.
Verified using patch 1.0.0.v20110714-1400