Project

General

Profile

« Previous | Next » 

Revision 64240514

Added by Patrick Plitzner over 10 years ago

  • fixed saving problem due to cloning of FieldUnit

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateContentProvider.java
43 43
	          }
44 44
	        }
45 45
	    }
46
	    // return the FieldUnit itself if element is a FieldUnit (used clone() due to recursion issues -> see javadoc of this method)
47 46
	    else if(inputElement instanceof FieldUnit){
48
	        FieldUnit fieldUnit = ((FieldUnit) inputElement).clone();
47
	        FieldUnit fieldUnit = (FieldUnit) inputElement;
49 48
	        fieldUnit.getTitleCache();
50 49
	        return Collections.singleton(fieldUnit).toArray();
51 50
	    }

Also available in: Unified diff