diff options
author | Karsten Thoms | 2017-11-08 21:36:43 +0000 |
---|---|---|
committer | Karsten Thoms | 2017-11-08 21:36:43 +0000 |
commit | 03e4ea90b42d8471c43ed59b7e12b6bea00e2b37 (patch) | |
tree | 2cf393881558cacef097197737b18fa46c4c71ba /org.eclipse.ua.tests | |
parent | a53e3f3411e84616ce4f33f8806acd163a230b25 (diff) | |
download | eclipse.platform.ua-03e4ea90b42d8471c43ed59b7e12b6bea00e2b37.tar.gz eclipse.platform.ua-03e4ea90b42d8471c43ed59b7e12b6bea00e2b37.tar.xz eclipse.platform.ua-03e4ea90b42d8471c43ed59b7e12b6bea00e2b37.zip |
Bug 527018 - [refactoring] Replace use of Number constructors by valueOfI20171113-2000I20171112-2000I20171111-1500I20171111-0410I20171111-0155I20171110-2000I20171109-2000
Change-Id: Iaf97601ee4244dc9e751a30cf4ac94250ede03bd
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Diffstat (limited to 'org.eclipse.ua.tests')
-rw-r--r-- | org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/execution/NegateIntegerHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/execution/NegateIntegerHandler.java b/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/execution/NegateIntegerHandler.java index 7df6325f7..6ac3842ff 100644 --- a/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/execution/NegateIntegerHandler.java +++ b/org.eclipse.ua.tests/cheatsheet/org/eclipse/ua/tests/cheatsheet/execution/NegateIntegerHandler.java @@ -20,7 +20,7 @@ public class NegateIntegerHandler extends AbstractHandler { public Object execute(ExecutionEvent event) throws ExecutionException { Integer val = (Integer)event.getObjectParameterForExecution("number"); - return new Integer(-val.intValue()); + return Integer.valueOf(-val.intValue()); } |