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 2008/10/25 01:19:26 UTC
svn commit: r707780 -
/poi/trunk/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentInputStream.java
Author: josh
Date: Fri Oct 24 16:19:26 2008
New Revision: 707780
URL: http://svn.apache.org/viewvc?rev=707780&view=rev
Log:
should have been submitted with c707778
Modified:
poi/trunk/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentInputStream.java
Modified: poi/trunk/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentInputStream.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentInputStream.java?rev=707780&r1=707779&r2=707780&view=diff
==============================================================================
--- poi/trunk/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentInputStream.java (original)
+++ poi/trunk/src/testcases/org/apache/poi/poifs/filesystem/TestDocumentInputStream.java Fri Oct 24 16:19:26 2008
@@ -284,14 +284,10 @@
{
DocumentInputStream stream = new DocumentInputStream(_workbook);
- try
- {
+ try {
stream.read(null, 0, 1);
fail("Should have caught NullPointerException");
- }
- catch (NullPointerException ignored)
- {
-
+ } catch (IllegalArgumentException ignored) {
// as expected
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org