[ 
https://issues.apache.org/jira/browse/IO-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16925189#comment-16925189
 ] 

Silence Tai commented on IO-621:
--------------------------------

[~ggregory] *LineIterator* class has made incompatible changes in *c1d92d87* 
submission since *2.5*, which seems to need to be modified again?

> Updating incompatible issue
> ---------------------------
>
>                 Key: IO-621
>                 URL: https://issues.apache.org/jira/browse/IO-621
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.6
>            Reporter: xia0c
>            Priority: Critical
>              Labels: performance
>
> Hi,
> The following code snippets throw an incompatible issue when I try to rolling 
> update Commons IO from 2.4 to 2.6.
> {code:java}
> @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();
>     }
> }
> {code}
> Thanks a lot.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to