diff graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/LongCmpTest.java @ 18163:c88ab4f1f04a

re-enabled Checkstyle with the release of 6.0 that supports Java 8; fixed existing Checkstyle warnings
author Doug Simon <doug.simon@oracle.com>
date Fri, 24 Oct 2014 16:18:10 +0200
parents 976c6cb2bf69
children
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/LongCmpTest.java	Thu Oct 23 17:20:10 2014 +0200
+++ b/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/LongCmpTest.java	Fri Oct 24 16:18:10 2014 +0200
@@ -49,8 +49,9 @@
         dispatchLambdaKernel(NUM, (gid) -> {
             long val = inArray[gid];
             long result = val * val;
-            if (val > 9)
+            if (val > 9) {
                 result++;
+            }
             outArray[gid] = result;
         });
     }