jdk/src/share/classes/java/awt/image/DataBufferFloat.java
changeset 22584 eed64ee05369
parent 5506 202f599c92aa
--- a/jdk/src/share/classes/java/awt/image/DataBufferFloat.java	Tue Jan 28 12:50:53 2014 +0400
+++ b/jdk/src/share/classes/java/awt/image/DataBufferFloat.java	Tue Jan 28 09:42:05 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -156,7 +156,7 @@
      */
     public DataBufferFloat(float dataArray[][], int size) {
         super(UNTRACKABLE, TYPE_FLOAT, size, dataArray.length);
-        bankdata = (float[][]) dataArray.clone();
+        bankdata = dataArray.clone();
         data = bankdata[0];
     }
 
@@ -180,7 +180,7 @@
      */
     public DataBufferFloat(float dataArray[][], int size, int offsets[]) {
         super(UNTRACKABLE, TYPE_FLOAT, size,dataArray.length, offsets);
-        bankdata = (float[][]) dataArray.clone();
+        bankdata = dataArray.clone();
         data = bankdata[0];
     }
 
@@ -227,7 +227,7 @@
      */
     public float[][] getBankData() {
         theTrackable.setUntrackable();
-        return (float[][]) bankdata.clone();
+        return bankdata.clone();
     }
 
     /**