Project

General

Profile

« Previous | Next » 

Revision a101359e

Added by Patrick Plitzner over 5 years ago

ref #7614 Catch negative index when getting the row object

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/BulkEditorConfigLabelAccumulator.java
37 37

  
38 38
    @Override
39 39
    public void accumulateConfigLabels(LabelStack configLabels, int columnPosition, int rowPosition) {
40
        CdmBase rowObject = dataProvider.getRowObject(natTable.getRowIndexByPosition(rowPosition));
40
        if(rowPosition<0){
41
            return;
42
        }
43
        CdmBase rowObject = dataProvider.getRowObject(rowPosition);
41 44
        if(input.getMergeCandidates().contains(rowObject)){
42 45
            configLabels.addLabel(BulkEditorE4Composite.CANDIDATE_LABEL);
43 46
        }

Also available in: Unified diff