Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 07021200CBA for ; Mon, 3 Jul 2017 15:54:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 05662160BEC; Mon, 3 Jul 2017 13:54:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4BE8D160BE4 for ; Mon, 3 Jul 2017 15:54:04 +0200 (CEST) Received: (qmail 32452 invoked by uid 500); 3 Jul 2017 13:54:03 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 32441 invoked by uid 99); 3 Jul 2017 13:54:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jul 2017 13:54:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D07BE1916E0 for ; Mon, 3 Jul 2017 13:54:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id jHW91Q4BYux2 for ; Mon, 3 Jul 2017 13:54:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C3E135FDE4 for ; Mon, 3 Jul 2017 13:54:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4EA12E0641 for ; Mon, 3 Jul 2017 13:54:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0EEE8245F6 for ; Mon, 3 Jul 2017 13:54:00 +0000 (UTC) Date: Mon, 3 Jul 2017 13:54:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IO-543) ReversedLinesFileReader with 'getFilePointer' and 'seek' API MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 03 Jul 2017 13:54:05 -0000 [ https://issues.apache.org/jira/browse/IO-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072465#comment-16072465 ] ASF GitHub Bot commented on IO-543: ----------------------------------- GitHub user JeanPierrePortier opened a pull request: https://github.com/apache/commons-io/pull/39 IO-543-ReversedLinesFileReader-with-RandowFileAccess-API pull request for ticket: https://issues.apache.org/jira/browse/IO-543 - Added getFilePointer and seek API to ReversedLinesFileReader - Added new JUnit tests (ReversedLinesFileReaderTestRandomAccess) You can merge this pull request into a Git repository by running: $ git pull https://github.com/JeanPierrePortier/commons-io IO-543-ReversedLinesFileReader-with-RandowFileAccess-API Alternatively you can review and apply these changes as the patch at: https://github.com/apache/commons-io/pull/39.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #39 ---- commit a5bc2f8ade9ac5a13e929bf329b8056afecc1124 Author: =JeanPierrePortier Date: 2017-07-03T13:11:12Z Added getFilePointer and seek API to ReversedLinesFileReader Added new JUnit tests (ReversedLinesFileReaderTestRandomAccess) ---- > 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 > > 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 (v6.4.14#64029)