Use getValue when getting value of a cell

This commit is contained in:
Owen Stephens 2019-04-04 19:09:05 +01:00
parent a79e0f3187
commit 318bb54185

View File

@ -134,8 +134,8 @@ public class NewItemLibrary {
ReconConfig config = column.getReconConfig();
if (config instanceof StandardReconConfig) {
StandardReconConfig stdConfig = (StandardReconConfig)config;
if (cell instanceof (String)) {
stdConfig.computeFeatures(recon, cell.getValue());
if (cell.getValue() instanceof String) {
stdConfig.computeFeatures(recon, (String) cell.getValue());
}
}
}