From 8f24725930e9cc248d4a58ab3c271dc4fd486b1e Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Thu, 7 Jan 2010 12:50:21 +0000 Subject: [PATCH] Skip warnings we can't avoid git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896866 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/poifs/dev/POIFSViewable.java | 4 ++-- src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/poi/poifs/dev/POIFSViewable.java b/src/java/org/apache/poi/poifs/dev/POIFSViewable.java index 458072834d..c5d7748e75 100644 --- a/src/java/org/apache/poi/poifs/dev/POIFSViewable.java +++ b/src/java/org/apache/poi/poifs/dev/POIFSViewable.java @@ -46,7 +46,7 @@ public interface POIFSViewable */ public Object [] getViewableArray(); - + /** * Get an Iterator of objects, some of which may implement * POIFSViewable @@ -54,7 +54,7 @@ public interface POIFSViewable * @return an Iterator; may not be null, but may have an empty * back end store */ - + @SuppressWarnings("unchecked") public Iterator getViewableIterator(); /** diff --git a/src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java b/src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java index 3621637317..4d7f6c3fb6 100644 --- a/src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java +++ b/src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java @@ -410,14 +410,14 @@ public class DirectoryNode * @return an Iterator; may not be null, but may have an empty * back end store */ - + @SuppressWarnings("unchecked") public Iterator getViewableIterator() { List components = new ArrayList(); components.add(getProperty()); SortedMap sortedEntries = - new TreeMap(_entries); + new TreeMap(_entries); Iterator iter = sortedEntries.values().iterator(); while (iter.hasNext())