directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject XdbmTools code removal
Date Fri, 07 Dec 2012 15:22:42 GMT
Hi guys,

I suggest we remove this code from the project : it's not maintained,
it's outdated, and it's also completely broken.

For instance, such a code :

public class EntryNode implements TreeNode
{
    ...
    public EntryNode( String id, EntryNode parent,
AbstractBTreePartition db, Entry entry, Map<String, EntryNode> map,
        ExprNode exprNode, SearchEngine engine )
    {
    ...
        try
        {
            List<IndexEntry> recordForwards = new ArrayList<IndexEntry>();
            Cursor<IndexEntry<String, String>> childList = null;
//db.list( id );

            while ( childList.next() )
            ...

is guaranteed to generate a NPE.

EntryNode class is only usd by the PartitionFrame code.

Unless someone is wanting to maintain it, I'd suggest that we either
sandbox it, or isolate it in a sub-project, or remove it.

Thoughts ?

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com 


Mime
View raw message