You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2009/10/12 12:19:53 UTC
svn commit: r824289 -
/sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrModifiablePropertyMapTest.java
Author: cziegeler
Date: Mon Oct 12 10:19:52 2009
New Revision: 824289
URL: http://svn.apache.org/viewvc?rev=824289&view=rev
Log:
Fix test case
Modified:
sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrModifiablePropertyMapTest.java
Modified: sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrModifiablePropertyMapTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrModifiablePropertyMapTest.java?rev=824289&r1=824288&r2=824289&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrModifiablePropertyMapTest.java (original)
+++ sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrModifiablePropertyMapTest.java Mon Oct 12 10:19:52 2009
@@ -144,7 +144,7 @@
try {
pvm.put(null, "something");
fail("Put with null key");
- } catch (IllegalArgumentException iae) {}
+ } catch (NullPointerException iae) {}
try {
pvm.put("something", null);
fail("Put with null value");