if ((data == null) ||
(rowIndex < 0) || (rowIndex >= getRowCount()) ||
(columnIndex < 0) || (columnIndex >= getColumnCount())) {
return null;
}
AutomaticFixing fixing = data.get(rowIndex);
if (fixing == null) {
return null;
}
switch (columnIndex) {
case COLUMN_FROM:
return fixing.getOriginalText();
case COLUMN_TO:
return fixing.getReplacementText();
case COLUMN_REGEX:
return fixing.getRegex();
}
return null;
}