]> source.dussan.org Git - poi.git/commitdiff
Fix generics warnings
authorNick Burch <nick@apache.org>
Fri, 8 Jan 2010 16:02:35 +0000 (16:02 +0000)
committerNick Burch <nick@apache.org>
Fri, 8 Jan 2010 16:02:35 +0000 (16:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@897239 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hslf/extractor/PowerPointExtractor.java

index 05ade6ab9e048f5cc28c281dc16541f9f43faac5..ca815c7c9aa0e933260651159e273710296b5e70 100644 (file)
@@ -235,7 +235,7 @@ public final class PowerPointExtractor extends POIOLE2TextExtractor {
                        // Not currently using _notes, as that can have the notes of
                        // master sheets in. Grab Slide list, then work from there,
                        // but ensure no duplicates
-                       HashSet seenNotes = new HashSet();
+                       HashSet<Integer> seenNotes = new HashSet<Integer>();
                        HeadersFooters hf = _show.getNotesHeadersFooters();
 
                        for (int i = 0; i < _slides.length; i++) {