Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Won't Fix
-
2.6
-
None
-
Important
Description
Hi,
The following code snippets throw an incompatible issue when I try to rolling update Commons IO from 2.4 to 2.6.
@Test public void DemoTest(){ LineIterator it = null; File TestFile = new File("TestFile"); try { it = FileUtils.lineIterator(TestFile , "UTF-8"); while (it.hasNext()) { String line = it.nextLine(); } } catch (IOException e) { e.printStackTrace(); } finally { if (it != null) it.close(); } }
Thanks a lot.