Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 46783 invoked from network); 1 Aug 2008 17:03:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2008 17:03:12 -0000 Received: (qmail 4025 invoked by uid 500); 1 Aug 2008 17:03:12 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 3826 invoked by uid 500); 1 Aug 2008 17:03:11 -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 3815 invoked by uid 99); 1 Aug 2008 17:03:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 10:03:11 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of akarasulu@gmail.com designates 74.125.44.28 as permitted sender) Received: from [74.125.44.28] (HELO yx-out-2324.google.com) (74.125.44.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2008 17:02:16 +0000 Received: by yx-out-2324.google.com with SMTP id 8so131743yxb.55 for ; Fri, 01 Aug 2008 10:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=rTYsz101pASMelzMjzihlOl54+mQORjHF7dUHR9GpJI=; b=xptp82BaGNmIVEhp2+uPXH3eJT+F6zbChB8UzOYhNweHocyINhxiW3Hl7B33xVdnCx KQnZKK3fc241d2zkdfEEbVilH8VlpOrhWFynAKmzeyt/j0Vn9Qc1h1QR/sQxGsfsBCuL 3KgjpKRLwa3EFg6/zZ/wDAwNPspVBo8sMNhpc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=ifjxQCjvKxtCEFz9IJlzRO/gubJTn99lYgVR2w5JKIM5YJR0jOsPsu7OE4+QBCSh/f 5xUryoHlsh3c+5aZy604Kwk2YaaVR0pSHSW7EpzWoT688C5uzU0YGZKufWM6+s/ptZ+e om2mdMpTcV8UjzvCFDM/+FH+yimob46x31B+w= Received: by 10.151.84.12 with SMTP id m12mr3560307ybl.11.1217610152181; Fri, 01 Aug 2008 10:02:32 -0700 (PDT) Received: by 10.150.200.1 with HTTP; Fri, 1 Aug 2008 10:02:32 -0700 (PDT) Message-ID: Date: Fri, 1 Aug 2008 13:02:32 -0400 From: "Alex Karasulu" Sender: akarasulu@gmail.com To: dev@directory.apache.org Subject: Re: svn commit: r681463 - in /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog: ChangeLog.java DefaultChangeLog.java In-Reply-To: <20080731195803.2F5C3238889C@eris.apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7670_26768938.1217610152175" References: <20080731195803.2F5C3238889C@eris.apache.org> X-Google-Sender-Auth: 7a769fb660fa4f1a X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_7670_26768938.1217610152175 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Jul 31, 2008 at 3:58 PM, wrote: > Author: kayyagari > Date: Thu Jul 31 12:58:02 2008 > New Revision: 681463 > > URL: http://svn.apache.org/viewvc?rev=681463&view=rev > Log: > made the changelog partition suffix configurable > included the default values for the same > > + void setPartitionSuffix( String suffix ); > + This is a DN I take it? > > + void setRevOuSuffix( String revOuSuffix ); > + This is not a DN? Is it the value of the ou attribute? There is no javadocs here. Please do not add interface methods without javadocs. > > > + void setTagOuSuffix( String tagOuSuffix ); > Without Javadocs to help understand I think these names are not very intuitive especially since suffix is usually used to mean the base DN of a partition attached to the DIT: the namingContext. Perhaps setRevisionsContainerValue() and setTagContainerValue() or setRevisionsContainerName() and setTagContainerName() might be best. Don't know but it's better than using suffix. Providing a DN may be an issue because then your container has to allow the presence of the rdn value. Might give too much freedom where you want to constrain. Please add some documentation so these new interface methods better understood: we cannot accept undocumented code in general but with key interfaces that are part of an SPI in ApacheDS it's even more unacceptible. Please don't make a habit of this. Alex ------=_Part_7670_26768938.1217610152175 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On Thu, Jul 31, 2008 at 3:58 PM, <kayyagari@apache.org> wrote:
Author: kayyagari
Date: Thu Jul 31 12:58:02 2008
New Revision: 681463

URL: http://svn.apache.org/viewvc?rev=681463&view=rev
Log:
made the changelog partition suffix configurable
included the default values for the same

+    void setPartitionSuffix( String suffix );
+

This is a DN I take it?
 

+    void setRevOuSuffix( String revOuSuffix );
+

This is not a DN?  Is it the value of the ou attribute?  There is no javadocs here.  Please do not add interface methods without javadocs. 
 

+    void setTagOuSuffix( String tagOuSuffix );


Without Javadocs to help understand I think these names are not very intuitive especially since suffix is usually used to mean the base DN of a partition attached to the DIT: the namingContext.  Perhaps setRevisionsContainerValue() and setTagContainerValue() or setRevisionsContainerName() and setTagContainerName() might be best.  Don't know but it's better than using suffix. 

Providing a DN may be an issue because then your container has to allow the presence of the rdn value.  Might give too much freedom where you want to constrain.

Please add some documentation so these new interface methods better understood: we cannot accept undocumented code in general but with key interfaces that are part of an SPI in ApacheDS it's even more unacceptible.  Please don't make a habit of this.

Alex


------=_Part_7670_26768938.1217610152175--