Project

General

Profile

« Previous | Next » 

Revision 5bfed917

Added by Alex Theys almost 12 years ago

AT: committing changes to the TaxEditor for ethnic group testing

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/uses/UsesLabelProvider.java
171 171
		else if ((term.getVocabulary() != null) && (term.getPartOf() == null) && (term.getVocabulary().getTitleCache().equals(vocabularyExpected))) {
172 172
			return true;
173 173
		}
174
		else if ((vocabularyExpected.equals(UsageTermCollection.ethnicGroupLabel))  && (term.getVocabulary() == null) && ((term.getPartOf() != null))) {
174
		else if ((vocabularyExpected.equals(UsageTermCollection.ethnicGroupLabel))  && (term.getVocabulary() != null) && ((term.getPartOf() != null))) {
175 175
			return true;
176 176
		}
177 177
	return false;
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/userecords/UseRecordDetailElement.java
543 543
		else if ((term.getVocabulary() != null) && (term.getPartOf()==null) && (term.getVocabulary().getTitleCache().equals(vocabularyExpected))) {
544 544
			return true;
545 545
		}
546
		else if ((vocabularyExpected.equals(UsageTermCollection.ethnicGroupLabel))  && (term.getVocabulary() == null) && ((term.getPartOf() != null))) {
546
		else if ((vocabularyExpected.equals(UsageTermCollection.ethnicGroupLabel))  && (term.getVocabulary() != null) && ((term.getPartOf() != null))) {
547 547
			return true;
548 548
		}
549 549
	return false;

Also available in: Unified diff