You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2004/12/22 09:06:43 UTC

svn commit: r123059 - /lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java

Author: andreas
Date: Wed Dec 22 00:06:41 2004
New Revision: 123059

URL: http://svn.apache.org/viewcvs?view=rev&rev=123059
Log:
use NULL to generate NPEs instead of FileNotFoundException
Modified:
   lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java

Modified: lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java?view=diff&rev=123059&p1=lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java&r1=123058&p2=lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java&r2=123059
==============================================================================
--- lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java	(original)
+++ lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java	Wed Dec 22 00:06:41 2004
@@ -53,7 +53,7 @@
         String source = args[1];
         String identityD = args[2];
         String destination = args[3];
-        RevisionController rc = new RevisionController("", "", "");
+        RevisionController rc = new RevisionController(null, null, null);
         try {
             rc.reservedCheckOut(source, identityS);
         } catch (FileNotFoundException e) // No such source file

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