[Biojava-l] Abstract/IndexedSequenceDB bug

Keith James kdj@sanger.ac.uk
06 Sep 2001 16:23:35 +0100


I don't have time to fix this right now, so this is a bug report.

IndexedSequenceDB doesn't override addSequence(Sequence) in
AbstractSequenceDB, so if you upcast IndexedSequenceDB to its
interface, you get rude messages about AbstractSequenceDB being
immutable when trying to add Sequences.

The method in AbstractSequenceDB is an exception-throwing stub. (I'd
prefer it to be abstract instead).

It's on my list, but I won't get to it for a while.

-- 

-= Keith James - kdj@sanger.ac.uk - http://www.sanger.ac.uk/Users/kdj =-
The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs CB10 1SA