Project

General

Profile

« Previous | Next » 

Revision 3158af23

Added by Patrick Plitzner over 5 years ago

Fix possible NPE

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CategoricalChartTooltip.java
134 134
        if(matrix.isShowTooltips()
135 135
                && rowPos==1
136 136
                && colIndex>=CharacterMatrix.LEADING_COLUMN_COUNT
137
                && feature!=null
137 138
                && feature.isSupportsCategoricalData()) {
138 139
            return true;
139 140
        }
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/QuantitativeChartTooltip.java
140 140

  
141 141
        if(matrix.isShowTooltips()
142 142
                && rowPos==1
143
                && feature!=null
143 144
                && feature.isSupportsQuantitativeData()
144 145
                && colIndex>=CharacterMatrix.LEADING_COLUMN_COUNT) {
145 146
            return true;

Also available in: Unified diff