incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r824289 - /sling/trunk/bundles/jcr/resource/src/test/java/org/apache/sling/jcr/resource/internal/JcrModifiablePropertyMapTest.java
Date Mon, 12 Oct 2009 10:19:53 GMT
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");



Mime
View raw message