Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFDDA9ED9 for ; Sat, 29 Oct 2011 06:23:49 +0000 (UTC) Received: (qmail 37002 invoked by uid 500); 29 Oct 2011 06:23:49 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 36826 invoked by uid 500); 29 Oct 2011 06:23:42 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 36813 invoked by uid 99); 29 Oct 2011 06:23:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2011 06:23:40 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ayaselcuk@gmail.com designates 209.85.160.178 as permitted sender) Received: from [209.85.160.178] (HELO mail-gy0-f178.google.com) (209.85.160.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2011 06:23:34 +0000 Received: by gyh4 with SMTP id 4so4828038gyh.37 for ; Fri, 28 Oct 2011 23:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ex1+5r77oAn4YsvrmjTYSz/Tp5MtiSSSWQ5GRTYVBLU=; b=TyLJq7g5RE6u96kdG2KT39I3GTP2FYc7kjpYs4lO99ayzSSG3fzflvq0GjKdN/5FsI 69bpMuYarD9xgEHmnUb8VE4JsX9hVmsGMv7np0r9TW/7/exn2/8a7PN7sNcupwcE7uUT 3nVBUDd+s/blOAH/Moh/nraTo5AW8KlcWgJEk= MIME-Version: 1.0 Received: by 10.182.216.105 with SMTP id op9mr1252600obc.57.1319869393215; Fri, 28 Oct 2011 23:23:13 -0700 (PDT) Received: by 10.182.160.70 with HTTP; Fri, 28 Oct 2011 23:23:13 -0700 (PDT) In-Reply-To: <4EAAECA3.9050808@gmail.com> References: <20111027092424.05BC62388900@eris.apache.org> <4EAAECA3.9050808@gmail.com> Date: Sat, 29 Oct 2011 09:23:13 +0300 Message-ID: Subject: Re: svn commit: r1189688 - in /directory/apacheds/branches/apacheds-txns: core-api/src/main/java/org/apache/directory/server/core/log/ core/src/main/java/org/apache/directory/server/core/log/ From: Selcuk AYA To: Apache Directory Developers List , elecharny@apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Oct 28, 2011 at 8:55 PM, Emmanuel Lecharny wr= ote: > On 10/28/11 9:46 AM, Selcuk AYA wrote: >> >> On Thu, Oct 27, 2011 at 12:24 PM, =A0wrote: >>> >>> Author: elecharny >>> Date: Thu Oct 27 09:24:23 2011 >>> New Revision: 1189688 >>> >>> URL: http://svn.apache.org/viewvc?rev=3D1189688&view=3Drev >>> Log: >>> o Added a Log.begingScan() method with no argument >> >> log files are deleted as minneeded log file is advances. So this >> method should get a consistent copy of the min needed log file or min >> existing log file and should start scanning from there. > > yeah, I realized that this afternoon as I was working on the code. Should= I > fix the method ? I am OK both ways. If you have time, please go ahead. Also you were talking about a bug you hit during a test, please upload a test case for it so that I can take a look. >> >>> o Renamed LogScanner to LogScannerInternal >>> o Made fields private >> >> I think it is unnecessary to make internal private class fields >> private. As I mentioned before, I use these little inner classes to >> group data together and I access them directly. > > This is just a protection. Later, if you make this inner class a plain > class, you will have to make the field private. > > > -- > Regards, > Cordialement, > Emmanuel L=E9charny > www.iktek.com > > regards, Selcuk