[
https://issues.apache.org/jira/browse/IO-543?focusedWorklogId=798976&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-798976
]
ASF GitHub Bot logged work on IO-543:
-------------------------------------
Author: ASF GitHub Bot
Created on: 08/Aug/22 15:00
Start Date: 08/Aug/22 15:00
Worklog Time Spent: 10m
Work Description: garydgregory commented on code in PR #39:
URL: https://github.com/apache/commons-io/pull/39#discussion_r940345611
##########
src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java:
##########
@@ -339,6 +360,7 @@ private void createLeftOver() {
leftOver = null;
}
currentLastBytePos = -1;
+ mappedFilePointer=0;
Review Comment:
Fix formatting
Issue Time Tracking
-------------------
Worklog Id: (was: 798976)
Time Spent: 0.5h (was: 20m)
> ReversedLinesFileReader with 'getFilePointer' and 'seek' API
> ------------------------------------------------------------
>
> Key: IO-543
> URL: https://issues.apache.org/jira/browse/IO-543
> Project: Commons IO
> Issue Type: Improvement
> Affects Versions: 2.6
> Reporter: Jean-Pierre Portier
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Adding API to get/set current file pointer position for
> org.apache.commons.io.input.ReversedLinesFileReader class:
> - long getFilePointer()
> - void seek(long pos)
> (they act like java.io.RandomAccessFile API class)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)