Tony CHEMIT pushed to branch develop-7.x at ultreiaio / ird-observe
Commits:
-
5c631be9
by Tony CHEMIT at 2018-07-23T14:32:05Z
1 changed file:
Changes:
| ... | ... | @@ -141,7 +141,7 @@ public abstract class EditableTableModelSupport<E extends Serializable> extends |
| 141 | 141 |
}
|
| 142 | 142 |
|
| 143 | 143 |
public E getData(int rowIndex) {
|
| 144 |
- return data.get(rowIndex);
|
|
| 144 |
+ return rowIndex >= data.size() ? null : data.get(rowIndex);
|
|
| 145 | 145 |
}
|
| 146 | 146 |
|
| 147 | 147 |
|