Project

General

Profile

Revision 9e1d6aa5

ID9e1d6aa52c093d56ef96ef456cc3f460ab4a818b
Parent b3cdd8e7
Child 3799b968

Added by Andreas Müller over 2 years ago

ref #7335 exchange Taxon.getProParteSynonyms() by .getProParteAndPartialSynonyms()

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/ContainerFactoryE4.java
79 79
	        TaxonNameEditorE4 taxonNameEditor) {
80 80
		MisappliedGroupE4 group = taxonNameEditor.getMisappliedGroup();
81 81
		Taxon taxon = HibernateProxyHelper.deproxy(taxonNameEditor.getTaxon(), Taxon.class);
82
		if(taxon.getMisappliedNames(true).isEmpty() && taxon.getProParteSynonyms().isEmpty()){
82
		if(taxon.getMisappliedNames(true).isEmpty() && taxon.getProParteAndPartialSynonyms().isEmpty()){
83 83
			taxonNameEditor.removeGroup(group);
84 84
			taxonNameEditor.setMisapplicationsGroup(null);
85 85
		}else{
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/container/MisappliedGroupE4.java
37 37
			this.add(container);
38 38
			container.createContent();
39 39
		}
40
		for(Taxon misapplication : getEditor().getTaxon().getProParteSynonyms()){
40
		for(Taxon misapplication : getEditor().getTaxon().getProParteAndPartialSynonyms()){
41 41
            ConceptContainerE4 container = new ConceptContainerE4(this, misapplication, false);
42 42
            this.add(container);
43 43
            container.createContent();
......
53 53

  
54 54
	private boolean redrawNeeded() {
55 55
		Set<Taxon> misapplications = getEditor().getTaxon().getMisappliedNames(true);
56
		misapplications.addAll(getEditor().getTaxon().getProParteSynonyms());
56
		misapplications.addAll(getEditor().getTaxon().getProParteAndPartialSynonyms());
57 57

  
58
		Set<Taxon> presentMisapplication = new HashSet<Taxon>();
58
		Set<Taxon> presentMisapplication = new HashSet<>();
59 59

  
60 60
		for (AbstractGroupedContainerE4<Taxon> container  : getGroupedContainers()){
61 61
			presentMisapplication.add(container.getData());

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)