changeset 6317:48da040e2672

ECLIPSE ONLY: work around Eclipse jdk8 compiler issue
author snorthov
date Sun, 16 Feb 2014 05:57:14 -0800
parents 7c8be12d510a
children 971321b8bf80
files tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/TestTouchDevices.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/TestTouchDevices.java	Sun Feb 16 05:56:19 2014 -0800
+++ b/tests/system/src/test/java/com/sun/glass/ui/monocle/input/devices/TestTouchDevices.java	Sun Feb 16 05:57:14 2014 -0800
@@ -78,10 +78,11 @@
     }
 
     public static Collection<Object[]> getTouchDeviceParameters(int minPoints) {
-        return getTouchDevices().stream()
+        Collection c = getTouchDevices().stream()
                 .filter(d -> d.points.length >= minPoints)
                 .map(d -> new Object[] { d })
                 .collect(Collectors.toList());
+        return c;
     }
 
     private static void fetchScreenBounds() {