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:
parent
62e8d43b5b
commit
dd6750ceb9
@ -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();
|
||||
|
||||
/**
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user