From e4bd213ed5b6bc97e8595f0c24b42d9b65cdc610 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Wed, 28 Dec 2011 05:08:45 +0000 Subject: [PATCH] Fix generics warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1225092 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hdgf/streams/ChunkStream.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hdgf/streams/ChunkStream.java b/src/scratchpad/src/org/apache/poi/hdgf/streams/ChunkStream.java index 0f7a92da9..34399ee50 100644 --- a/src/scratchpad/src/org/apache/poi/hdgf/streams/ChunkStream.java +++ b/src/scratchpad/src/org/apache/poi/hdgf/streams/ChunkStream.java @@ -43,7 +43,7 @@ public final class ChunkStream extends Stream { * Process the contents of the stream out into chunks */ public void findChunks() { - ArrayList chunksA = new ArrayList(); + ArrayList chunksA = new ArrayList(); if(getPointer().getOffset() == 0x64b3) { int i = 0; @@ -66,6 +66,6 @@ public final class ChunkStream extends Stream { } } - chunks = (Chunk[])chunksA.toArray(new Chunk[chunksA.size()]); + chunks = chunksA.toArray(new Chunk[chunksA.size()]); } }