Project

General

Profile

« Previous | Next » 

Revision 6a8d9d7f

Added by Patrick Plitzner about 6 years ago

ref #7095 Cache description elements in row wrapper for performance

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/workingSet/matrix/quantitative/QuantitativeDataCellEditor.java
134 134
        if(rowObject instanceof RowWrapper){
135 135
            this.editorControl = createEditorControl(parent);
136 136
            if(originalCanonicalValue==null){
137
                QuantitativeData data = QuantitativeData.NewInstance(feature);
138
                ((RowWrapper) rowObject).getSpecimenDescription().addElement(data);
139
                originalCanonicalValue = data;
137
                originalCanonicalValue = ((RowWrapper) rowObject).addQuantitativeData(feature);
140 138
            }
141 139
            this.setEditorValue(originalCanonicalValue);
142 140

  

Also available in: Unified diff