diff options
author | Nick Burch <nick@apache.org> | 2010-01-07 12:50:21 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2010-01-07 12:50:21 +0000 |
commit | 8f24725930e9cc248d4a58ab3c271dc4fd486b1e (patch) | |
tree | 6190e781bc00e0fc1a4e390a24ea077bfbf5c457 /src/java/org/apache/poi/poifs | |
parent | 25bd56f569139f77c7069283649a0c2ec4d27dab (diff) | |
download | poi-8f24725930e9cc248d4a58ab3c271dc4fd486b1e.tar.gz poi-8f24725930e9cc248d4a58ab3c271dc4fd486b1e.zip |
Skip warnings we can't avoid
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896866 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/poifs')
-rw-r--r-- | src/java/org/apache/poi/poifs/dev/POIFSViewable.java | 4 | ||||
-rw-r--r-- | 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<String,Entry> sortedEntries = - new TreeMap<String,Entry>(_entries); + new TreeMap<String,Entry>(_entries); Iterator<Entry> iter = sortedEntries.values().iterator(); while (iter.hasNext()) |