mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Fixed problem where auto-unboxing may throw NPE
Change-Id: Ib7728721ce2c679565c8399722f1de50930fb3ed Signed-off-by: Jesper Eskilson <jesper.eskilson@iar.com>
This commit is contained in:
parent
9f27d7cc20
commit
f38dd92fb6
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ public class TriggerCellModifier implements ICellModifier {
|
|||
Shell shell = getShell();
|
||||
if (shell == null) return;
|
||||
|
||||
Integer intValue = null;
|
||||
Integer intValue = 0;
|
||||
if (value instanceof String) {
|
||||
try {
|
||||
intValue = new Integer(((String)value).trim());
|
||||
|
|
Loading…
Add table
Reference in a new issue