aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hpsf
diff options
context:
space:
mode:
authorRainer Klute <klute@apache.org>2007-06-26 17:58:28 +0000
committerRainer Klute <klute@apache.org>2007-06-26 17:58:28 +0000
commit296705e0b6148b983c14adb412c1f70df7b6f902 (patch)
treedb5242eb1c13e43a300de69a19259811d8ca5f31 /src/java/org/apache/poi/hpsf
parent3de9d1ef79082b0693ca40e71c0d9db0dd40ce3f (diff)
downloadpoi-296705e0b6148b983c14adb412c1f70df7b6f902.tar.gz
poi-296705e0b6148b983c14adb412c1f70df7b6f902.zip
Restored the cast: JDK 1.4 needs it. :-(
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@550886 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hpsf')
-rw-r--r--src/java/org/apache/poi/hpsf/Util.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/hpsf/Util.java b/src/java/org/apache/poi/hpsf/Util.java
index 4823286297..85ea0ea095 100644
--- a/src/java/org/apache/poi/hpsf/Util.java
+++ b/src/java/org/apache/poi/hpsf/Util.java
@@ -233,8 +233,8 @@ public class Util
*/
public static boolean equals(final Object[] c1, final Object[] c2)
{
- final Object[] o1 = c1.clone();
- final Object[] o2 = c2.clone();
+ final Object[] o1 = (Object[]) c1.clone();
+ final Object[] o2 = (Object[]) c2.clone();
return internalEquals(o1, o2);
}