directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] [Commented] (MAVIBOT-2) Unchecked assignment in RecordManager.addBTree
Date Fri, 09 Aug 2013 06:06:48 GMT


Stefan Seelmann commented on MAVIBOT-2:

I think at least the method signatures we can add type parameters. Within the method implementation
we still need to cast and get warnings. But for the caller all looks clean. I tested it for
two methods:

- public <K, V> BTree<K, V> getManagedTree( String name )
- public <K, V> BTree<K, V> addBTree( String name, ElementSerializer<K>
keySerializer, ElementSerializer<V> valueSerializer, boolean allowDuplicates )

> Unchecked assignment in RecordManager.addBTree
> ----------------------------------------------
>                 Key: MAVIBOT-2
>                 URL:
>             Project: Mavibot
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M1
>            Reporter: David Gageot
>            Assignee: Emmanuel Lecharny
>            Priority: Minor
> RecordManager.addBTree should not return a raw Btree but a Btree<K,V>
> Same goes for all methods that return Btrees

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message