Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 60012 invoked from network); 30 Mar 2011 13:51:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Mar 2011 13:51:28 -0000 Received: (qmail 13164 invoked by uid 500); 30 Mar 2011 13:51:28 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 13130 invoked by uid 500); 30 Mar 2011 13:51:28 -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 13123 invoked by uid 99); 30 Mar 2011 13:51:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Mar 2011 13:51:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pajbam@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Mar 2011 13:51:20 +0000 Received: by wwa36 with SMTP id 36so1513455wwa.1 for ; Wed, 30 Mar 2011 06:51:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:mime-version:content-type:subject :date:in-reply-to:to:references:message-id:x-mailer; bh=/Fgnbe/yj3zi0sJKQtFvZICyVGdPmmmBad9mfJHD5VI=; b=GCd4KO6qcd3ncPDEi08F03+VnYizhUNmvCC5tPYJ+KFWMrDI+oSXvTj/7ljSWcXzU2 SCq5GsN80mmS7qpyF4oboB+QizjTUoR3ii9aVJq8B8aRIVMZL0jZVATrQZRhUs2R2FhJ uz7pBGOeSJ5VVp95annoeKZyJkHBxLWmeudxk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=r8RVZUkVIcgsabh7EX84/b8bYICJvv5VR973s+oZ1uwivikEghxXd71x7b+qGFQjVt qFOOVch8W8TssLO6UF2exxnQO/sHozccK0vCqwNX3ZUk1cVdKSB7i6Mg2DhI5193RFlc TbsYH4HOFqlvfkTGfVYinoCNfWRMU5Imo0aL0= Received: by 10.216.121.208 with SMTP id r58mr671913weh.61.1301493058403; Wed, 30 Mar 2011 06:50:58 -0700 (PDT) Received: from [192.168.0.52] (lon92-10-78-226-4-211.fbx.proxad.net [78.226.4.211]) by mx.google.com with ESMTPS id n2sm51937wej.22.2011.03.30.06.50.55 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 06:50:56 -0700 (PDT) Sender: Pierre-Arnaud Marcelot From: Pierre-Arnaud Marcelot Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-1-1063306771 Subject: Re: Some few classes that are probably stored at the right place... Date: Wed, 30 Mar 2011 15:50:53 +0200 In-Reply-To: To: "Apache Directory Developers List" References: <4D9279DD.3000005@gmail.com> Message-Id: <07B18C1B-CD2D-4B8B-BB64-030279AC251F@marcelot.net> X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1-1063306771 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Alex, On 30 mars 2011, at 14:24, Alex Karasulu wrote: >=20 >=20 > On Wed, Mar 30, 2011 at 12:20 PM, Pierre-Arnaud Marcelot = wrote: > Hi Emmanuel, >=20 > +1 >=20 > SearchScope could be in = 'org.apache.directory.shared.ldap.model.message'. > LdapURL could in 'org.apache.directory.shared.ldap.model.url'. >=20 > Shouldn't we also rename 'LdapURL' as 'LdapUrl' to match other class = names (like Dn, Rdn, Oid, etc.)? >=20 > Regards, > Pierre-Arnaud >=20 >=20 > My same thoughts. LdapUrl should go into message pkg too though - why = have an extra package with just one or two classes? Readability and longevity I guess. We might need to add more classes related to LdapUrl later, like an URL = factory or more. Having this extra package ensures that we won't be tempted to move it = afterwards, breaking compatibility in client applications. At first, I was hesitating between either = 'org.apache.directory.shared.ldap.model' or = 'org.apache.directory.shared.ldap.model.url'. Are you picking 'message' because LdapUrl is somehow related to = referrals? I've just verified and none of the classes under the 'message' package = uses LdapUrl (not even 'Referral'). Other than that, I don't really see the link between the classes under = this package and the LdapUrl class... Regards, Pierre-Arnaud >=20 > Regards, > Alex --Apple-Mail-1-1063306771 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi = Alex,

On 30 mars 2011, at 14:24, Alex Karasulu = wrote:



On Wed, Mar 30, 2011 at = 12:20 PM, Pierre-Arnaud Marcelot <pa@marcelot.net> = wrote:
Hi Emmanuel,

+1

SearchScope could be in = 'org.apache.directory.shared.ldap.model.message'.
LdapURL could in 'org.apache.directory.shared.ldap.model.url'.

Shouldn't we also rename 'LdapURL' as 'LdapUrl' to match other class = names (like Dn, Rdn, Oid, etc.)?

Regards,
Pierre-Arnaud


My same = thoughts. LdapUrl should go into message pkg too though - why have an = extra package with just one or two = classes?

Readability and = longevity I guess.
We might need to add more classes related = to LdapUrl later, like an URL factory or more.
Having this = extra package ensures that we won't be tempted to move it afterwards, = breaking compatibility in client = applications.

At first, I was hesitating = between either 'org.apache.directory.shared.ldap.model' or = 'org.apache.directory.shared.ldap.model.url'.

Are= you picking 'message' because LdapUrl is somehow related to = referrals?
I've just verified and none of the classes under = the 'message' package uses LdapUrl (not even = 'Referral').
Other than that, I don't really see the link = between the classes under this package and the LdapUrl = class...

Regards,
Pierre-Arnaud

Regards,
Alex

= --Apple-Mail-1-1063306771--