Hi guys,
while investigating the NPE Stefan pointed out today, I found that the
DN, RDN and AVA are not completely immutable.
AVA has two methods that can modify it :
getNormValue(),
getUpValue()
RDN has many methods modifying it contents :
clear(),
getAtav(),
getAttributeTypeAndValue( String type ),
getNormValue(),
getUpValue(),
getValue( String type ),
iterator(),
normalize( ... ) (all the methods),
readExternal( ObjectInput in )
DN has some too :
DN( RDN )
add( RDN )
addAll( int posn, DN )
addAllNormalized()
getRdn()
getRdn( int pos )
normalize(...)
We have to fix those guys...
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com