Revision 43995
trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.fmap.control/src/main/java/org/gvsig/fmap/mapcontrol/dal/feature/swing/table/FeatureTableModel.java | ||
---|---|---|
156 | 156 |
// Get the Feature at row "rowIndex", and return the value of the |
157 | 157 |
// attribute at "columnIndex" |
158 | 158 |
Feature feature = getFeatureAt(rowIndex); |
159 |
return feature == null ? null : getFeatureValue(feature, columnIndex); |
|
159 |
if( feature==null ) { |
|
160 |
return null; |
|
161 |
} |
|
162 |
Object value = getFeatureValue(feature, columnIndex); |
|
163 |
return value; |
|
160 | 164 |
} |
161 | 165 |
|
162 | 166 |
/** |
Also available in: Unified diff