From: <rv...@us...> - 2011-04-19 11:17:43
|
Revision: 790 http://treebase.svn.sourceforge.net/treebase/?rev=790&view=rev Author: rvos Date: 2011-04-19 11:17:37 +0000 (Tue, 19 Apr 2011) Log Message: ----------- No longer returning the context (i.e. the defining tree) so that we don't emit rdfs:isDefinedBy annotations, which are not useful on tree nodes anyway - because they have no other annotations, so why turn them into RDF? Things are less verbose this way. Modified Paths: -------------- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/tree/PhyloTreeNode.java Modified: trunk/treebase-core/src/main/java/org/cipres/treebase/domain/tree/PhyloTreeNode.java =================================================================== --- trunk/treebase-core/src/main/java/org/cipres/treebase/domain/tree/PhyloTreeNode.java 2011-04-19 11:16:03 UTC (rev 789) +++ trunk/treebase-core/src/main/java/org/cipres/treebase/domain/tree/PhyloTreeNode.java 2011-04-19 11:17:37 UTC (rev 790) @@ -595,9 +595,15 @@ return getTaxonLabelAsString(); } + + /* + * If there are no annotations on individual nodes there is no good reason to have them + * be "seen" in the RDF anyway, which they would be if we state them as being defined by + * their containing tree. So let's skip that for now. @Override @Transient public PhyloTree getContext() { return getTree(); } + */ } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |