directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-325) 'hierarchy' spelling mistake in source code
Date Sat, 21 Apr 2007 11:10:16 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny closed DIRSERVER-325.
---------------------------------------


Closing all issues created in 2005 and before which are marked resolved

> 'hierarchy' spelling mistake in source code
> -------------------------------------------
>
>                 Key: DIRSERVER-325
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-325
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Stephane Bailliez
>         Assigned To: Emmanuel Lecharny
>            Priority: Minor
>
> There is a spelling mistake about 'hierarchy' written as 'heirarchy' in org.apache.ldap.server.db.Database
interface
> grep -ri heirarchy *| grep .java:
> trunk/core/src/main/java/org/apache/ldap/server/AbstractContextPartition.java:      
             db.setHeirarchyIndexOn( indexAttributes[ii] );
> trunk/core/src/main/java/org/apache/ldap/server/db/Database.java:     * @return the heirarchy
Index
> trunk/core/src/main/java/org/apache/ldap/server/db/Database.java:    Index getHeirarchyIndex();
> trunk/core/src/main/java/org/apache/ldap/server/db/Database.java:     * Sets the heirarchy
Index.
> trunk/core/src/main/java/org/apache/ldap/server/db/Database.java:     * @param attrType
the heirarchy Index
> trunk/core/src/main/java/org/apache/ldap/server/db/Database.java:    void setHeirarchyIndexOn(
AttributeType attrType ) throws NamingException;
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:    private
Index heirarchyIdx;
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:     * @see
org.apache.ldap.server.db.Database#getHeirarchyIndex()
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:    public
Index getHeirarchyIndex() 
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        return
heirarchyIdx;
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:    public
void setHeirarchyIndexOn( AttributeType attrType ) throws NamingException
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        if
( heirarchyIdx != null )
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        heirarchyIdx
= new JdbmIndex( attrType, wkdir );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        sysIndices.put(
attrType.getName().toLowerCase(), heirarchyIdx );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        return
( BigInteger ) heirarchyIdx.reverseLookup( childId );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        return
( BigInteger ) heirarchyIdx.reverseLookup( childId );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:     * @todo
Optimize this by walking the heirarchy index instead of the name 
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        heirarchyIdx.add(
parentId, id );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        heirarchyIdx.drop(
id );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:          
 heirarchyIdx.drop( parentId, id );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        return
heirarchyIdx.listIndices( id );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        return
heirarchyIdx.count( id );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        array.add(
heirarchyIdx );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        if
( null != heirarchyIdx )
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:          
 array.add( heirarchyIdx );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        list
= heirarchyIdx.listIndices( id );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        heirarchyIdx.drop(
oldParentId, childId );
> trunk/core/src/main/java/org/apache/ldap/server/db/jdbm/JdbmDatabase.java:        heirarchyIdx.add(
newParentId, childId );
> trunk/core/src/main/java/org/apache/ldap/server/db/ScopeEnumerator.java:        Index
idx = db.getHeirarchyIndex();
> trunk/core/src/main/java/org/apache/ldap/server/db/ScopeEvaluator.java:        Index
idx = db.getHeirarchyIndex();
> trunk/core/src/main/java/org/apache/ldap/server/prefs/PreferencesUtils.java:    /** the
dn base of the system preference heirarchy */

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message