directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny" <>
Subject Re: [CONSTANTS] Changing AT and OC
Date Thu, 19 Apr 2007 16:16:29 GMT

On 4/19/07, David Jencks <> wrote:
> I don't care that much if its
> public static final String AT = "AT";
> or
> public static final String ATTRIBUTE_TYPE = "AT";
> (I do prefer the longer string, its much clearer for me, a beginner)

Sure. The problem is that we have many of those guys all around the server,
and if you use long name, you will get constants like :
public static final String STRUCTURAL_OBJECT_CLASS_ATTRIBUTE_TYPE_OID  = "";
when we already have :
public static final String STRUCTURAL_OBJECT_CLASS_AT_OID  = "";

AT and OC should be clarified once, then as they are used everywhere, it
should be easy to remember what they mean.

but I think using constants is essential.

Absolutly. And we are slowly migrating all of them in a specific subproject

> david jencks

Emmanuel L├ęcharny

View raw message