commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "davidchiu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IO-450) File doesn't end with blank line and cann't get the last line using Tailer!
Date Fri, 04 Jul 2014 07:58:34 GMT
davidchiu created IO-450:
----------------------------

             Summary: File doesn't end with blank line and cann't get the last line using
Tailer!
                 Key: IO-450
                 URL: https://issues.apache.org/jira/browse/IO-450
             Project: Commons IO
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.4
         Environment: linux and windows 7
            Reporter: davidchiu
            Priority: Minor
             Fix For: 2.5


I use Tailer to read file, I can't get the last line if the file doesn't end with a blank
line!

My file like as following:

AAAAAAAAAAAA
BBBBBBBBBBBB

And Not end with a blank line, "BBBBBBBBBBBB" is the last line, When I use io.input.Tailer
to tail the file, I cann't get the last line "BBBBBBBBBBBB"!

All  versions(2.3/2.4/2.5) of Commons-IO have the same problem! 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message