aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java
diff options
context:
space:
mode:
authorNick Burch <nick@apache.org>2010-01-07 12:50:21 +0000
committerNick Burch <nick@apache.org>2010-01-07 12:50:21 +0000
commit8f24725930e9cc248d4a58ab3c271dc4fd486b1e (patch)
tree6190e781bc00e0fc1a4e390a24ea077bfbf5c457 /src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java
parent25bd56f569139f77c7069283649a0c2ec4d27dab (diff)
downloadpoi-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/filesystem/DirectoryNode.java')
-rw-r--r--src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java4
1 files changed, 2 insertions, 2 deletions
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())