[confluence-cmis-plugin] r115 committed - Provide a velocity object for null checks

1 view
Skip to first unread message

confluence-...@googlecode.com

unread,
Jun 7, 2010, 11:32:04 AM6/7/10
to conflue...@googlegroups.com
Revision: 115
Author: c.sc...@sourcesense.com
Date: Mon Jun 7 08:25:37 2010
Log: Provide a velocity object for null checks
http://code.google.com/p/confluence-cmis-plugin/source/detail?r=115

Modified:

/trunk/src/test/java/com/sourcesense/confluence/cmis/AbstractBaseUnitTest.java

=======================================
---
/trunk/src/test/java/com/sourcesense/confluence/cmis/AbstractBaseUnitTest.java
Mon Jun 7 06:49:43 2010
+++
/trunk/src/test/java/com/sourcesense/confluence/cmis/AbstractBaseUnitTest.java
Mon Jun 7 08:25:37 2010
@@ -2,6 +2,7 @@

import com.atlassian.bandana.BandanaContext;
import com.atlassian.bandana.BandanaManager;
+import com.sourcesense.confluence.cmis.utils.VelocityNullChecker;
import junit.framework.TestCase;
import org.apache.log4j.PropertyConfigurator;
import org.apache.velocity.VelocityContext;
@@ -42,6 +43,7 @@
p.setProperty("runtime.log.logsystem.log4j.category", "velocity");

vc = new VelocityContext();
+ vc.put("check", new VelocityNullChecker());
ve = new VelocityEngine();
ve.init(p);

Reply all
Reply to author
Forward
0 new messages