< prev index next >

modules/javafx.graphics/src/main/java/com/sun/marlin/FloatArrayCache.java

Print this page

        

@@ -158,11 +158,11 @@
                         final int toIndex)
         {
             if (array.length <= MAX_ARRAY_SIZE) {
                 if ((clean || DO_CLEAN_DIRTY) && (toIndex != 0)) {
                     // clean-up array of dirty part[fromIndex; toIndex[
-                    fill(array, fromIndex, toIndex, (float) 0);
+                    fill(array, fromIndex, toIndex, 0.0f);
                 }
                 // ensure to never store initial arrays in cache:
                 if (array != initial) {
                     cache.getCacheBucket(array.length).putArray(array);
                 }
< prev index next >