[Biojava-l] Senseless assignment

Richard Holland richard.holland at ebi.ac.uk
Mon Apr 10 09:26:51 UTC 2006


It's a typo. The method declaration should read:

  	// Hibernate requirement - not for public use.
	private void setOntology(ComparableOntology ontology) {
		this.ontoloy = ontology;
	}

I have fixed it in CVS.

cheers,
Richard

On Fri, 2006-04-07 at 17:43 +0200, Andreas Dräger wrote:
> Hi,
> 
> This assignment has no effect in class 
> org.biojavax.ontology.SimpleComparableTriple:
> 
>     // Hibernate requirement - not for public use.
>     private void setOntology(ComparableOntology descriptors) { 
> this.ontology = ontology; }
> 
> I do not know why this is necessary.
> 
> Andreas
> 
-- 
Richard Holland
European Bioinformatics Institute
Wellcome Trust Genome Campus, Hinxton
Cambridge CB10 1SD, UK
Tel: +44-(0)1223-494416
---------------




More information about the Biojava-l mailing list