[ https://issues.apache.org/jira/browse/IO-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb closed IO-622. ------------------- > FileUtils.readLines incompatible issue > -------------------------------------- > > Key: IO-622 > URL: https://issues.apache.org/jira/browse/IO-622 > Project: Commons IO > Issue Type: Bug > Affects Versions: 2.3, 2.4, 2.5, 2.6 > Reporter: xia0c > Priority: Major > Labels: performance > > Hi, > The following code snippets throw an incompatible issue when I try to rolling > update Commons IO to 2.6. It works well before 2.3. > {code:java} > @Test > public void DemoTest(){ > List<String> l = new ArrayList(); > File TestFile = new File("TestFile"); > try { > l.addAll(org.apache.commons.io.FileUtils.readLines(TestFile, null)); > } catch (IOException e) { > e.printStackTrace(); > } > } > {code} > Thanks a lot. -- This message was sent by Atlassian Jira (v8.3.4#803005)