Skip warnings we can't avoid

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@896866 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2010-01-07 12:50:21 +00:00
parent 25bd56f569
commit 8f24725930
2 changed files with 4 additions and 4 deletions

View File

@ -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();
/**

View File

@ -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())