[Biojava-l] LocationTools

Thomas Down td2@sanger.ac.uk
Fri, 21 Sep 2001 11:46:13 +0100


On Fri, Sep 21, 2001 at 10:25:51AM +1200, Mark Schreiber wrote:
> Hi -
> 
> A number of methods in LocationTools are also present in the Location
> classes. Are the Location methods likely to be deprecated in the near
> future? Is there a reason for this redundancy?

There were various bugs in the implementations of
binary operators on Locations, and to avoid code duplications,
these were all moved to LocationTools.  All the old methods on
the Locations themselves now delegate to the LocationTools
implementations.

I thought that the original plan was to deprecate methods
like `union' and `intersection' on the Location interface
itself, but this doesn't seem to have happened.

Is everyone using LocationTools now?  What would the
feeling be about deprecating these methods on Location
(with an eye to eventual removal, although not in the
1.2 release)?

   Thomas.