Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2018-05-16 03:27:45 -0400
committerLars Vogel2018-06-01 06:34:52 -0400
commitfd5e86e36ae05b2d295183d563ae8b839578b5a6 (patch)
tree0855b1c900873caaffdd5ad843105f7957ba4df0
parent8980d5323e6b3b5ac2e82b517ea66f475be8241e (diff)
downloadeclipse.platform.swt-fd5e86e36ae05b2d295183d563ae8b839578b5a6.tar.gz
eclipse.platform.swt-fd5e86e36ae05b2d295183d563ae8b839578b5a6.tar.xz
eclipse.platform.swt-fd5e86e36ae05b2d295183d563ae8b839578b5a6.zip
Fixes Method invokes inefficient Number constructor in
Bug144120_GLCanvasMouseEvents Change-Id: I8548076b97b97dc6bd73f518876e201294e22431 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug144120_GLCanvasMouseEvents.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug144120_GLCanvasMouseEvents.java b/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug144120_GLCanvasMouseEvents.java
index c71a73de82..31c5935c1e 100644
--- a/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug144120_GLCanvasMouseEvents.java
+++ b/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug144120_GLCanvasMouseEvents.java
@@ -66,7 +66,7 @@ public class Bug144120_GLCanvasMouseEvents {
@Override
public void mouseDown(MouseEvent event) {
long time=System.currentTimeMillis();
- System.out.println(new Long(time).toString() + " mouse move: " + event.x + " " + event.y);
+ System.out.println(Long.valueOf(time).toString() + " mouse move: " + event.x + " " + event.y);
try {
synchronized(this) {
wait(100);

Back to the top