poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r896866 - in /poi/trunk/src/java/org/apache/poi/poifs: dev/POIFSViewable.java filesystem/DirectoryNode.java
Date Thu, 07 Jan 2010 12:51:10 GMT
Author: nick
Date: Thu Jan  7 12:50:21 2010
New Revision: 896866

URL: http://svn.apache.org/viewvc?rev=896866&view=rev
Log:
Skip warnings we can't avoid

Modified:
    poi/trunk/src/java/org/apache/poi/poifs/dev/POIFSViewable.java
    poi/trunk/src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java

Modified: poi/trunk/src/java/org/apache/poi/poifs/dev/POIFSViewable.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/poifs/dev/POIFSViewable.java?rev=896866&r1=896865&r2=896866&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/poifs/dev/POIFSViewable.java (original)
+++ poi/trunk/src/java/org/apache/poi/poifs/dev/POIFSViewable.java Thu Jan  7 12:50:21 2010
@@ -46,7 +46,7 @@
      */
 
     public Object [] getViewableArray();
-
+    
     /**
      * Get an Iterator of objects, some of which may implement
      * POIFSViewable
@@ -54,7 +54,7 @@
      * @return an Iterator; may not be null, but may have an empty
      * back end store
      */
-
+    @SuppressWarnings("unchecked")
     public Iterator getViewableIterator();
 
     /**

Modified: poi/trunk/src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java?rev=896866&r1=896865&r2=896866&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java (original)
+++ poi/trunk/src/java/org/apache/poi/poifs/filesystem/DirectoryNode.java Thu Jan  7 12:50:21
2010
@@ -410,14 +410,14 @@
      * @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())



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message