directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Resolved: (DIREVE-153) 'hierarchy' spelling mistake in source code
Date Fri, 22 Apr 2005 22:50:35 GMT
     [ http://issues.apache.org/jira/browse/DIREVE-153?page=all ]
     
Emmanuel Lecharny resolved DIREVE-153:
--------------------------------------

    Resolution: Fixed

The typoes have been corrected.

> 'hierarchy' spelling mistake in source code
> -------------------------------------------
>
>          Key: DIREVE-153
>          URL: http://issues.apache.org/jira/browse/DIREVE-153
>      Project: Directory Server
>         Type: Bug
>   Components: server main
>     Reporter: Stephane Bailliez
>     Assignee: 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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message