Fix generics warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1225092 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2011-12-28 05:08:45 +00:00
parent 8c4165d75d
commit 34760dac11
1 changed files with 2 additions and 2 deletions

View File

@ -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<Chunk> chunksA = new ArrayList<Chunk>();
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()]);
}
}