Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2017-11-08 21:36:43 +0000
committerKarsten Thoms2017-11-08 21:36:43 +0000
commit03e4ea90b42d8471c43ed59b7e12b6bea00e2b37 (patch)
tree2cf393881558cacef097197737b18fa46c4c71ba /org.eclipse.ua.tests
parenta53e3f3411e84616ce4f33f8806acd163a230b25 (diff)
downloadeclipse.platform.ua-03e4ea90b42d8471c43ed59b7e12b6bea00e2b37.tar.gz
eclipse.platform.ua-03e4ea90b42d8471c43ed59b7e12b6bea00e2b37.tar.xz
eclipse.platform.ua-03e4ea90b42d8471c43ed59b7e12b6bea00e2b37.zip
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.java2
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());
}

Back to the top