directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Selcuk AYA <ayasel...@gmail.com>
Subject Re: LogScanner questions
Date Wed, 26 Oct 2011 16:32:21 GMT
On Tue, Oct 25, 2011 at 3:56 PM, Emmanuel Lecharny <elecharny@gmail.com> wrote:
> Hi,
>
> I see that the readLogRecord() method tries to read some data from the log
> file, with a specified size. It calls the LogFileManager.read( buffer,
> offset, size ) method, which reads the exect buber of bytes required, or
> throws an exception. So is it a good idea to return the number of read bytes
> ?

retruning the number of bytes read should not be necessary and it is
not used anywhere. I will remove it.

>
> --
> Regards,
> Cordialement,
> Emmanuel L├ęcharny
> www.iktek.com
>
>

Mime
View raw message