You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by jo...@apache.org on 2009/02/13 00:43:31 UTC

svn commit: r743932 - /poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/ZipPackage.java

Author: josh
Date: Thu Feb 12 23:43:30 2009
New Revision: 743932

URL: http://svn.apache.org/viewvc?rev=743932&view=rev
Log:
added to-do comment

Modified:
    poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/ZipPackage.java

Modified: poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/ZipPackage.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/ZipPackage.java?rev=743932&r1=743931&r2=743932&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/ZipPackage.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/ZipPackage.java Thu Feb 12 23:43:30 2009
@@ -250,7 +250,8 @@
 			return new MemoryPackagePart(this, partName, contentType,
 					loadRelationships);
 		} catch (InvalidFormatException e) {
-			System.err.println(e);
+			// TODO - don't use system.err.  Is it valid to return null when this exception occurs?
+			System.err.println(e); 
 			return null;
 		}
 	}



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