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

5 views
Skip to first unread message

confluence-...@googlecode.com

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

Added:

/trunk/src/main/java/com/sourcesense/confluence/cmis/utils/VelocityNullChecker.java

=======================================
--- /dev/null
+++
/trunk/src/main/java/com/sourcesense/confluence/cmis/utils/VelocityNullChecker.java
Mon Jun 7 08:25:49 2010
@@ -0,0 +1,12 @@
+package com.sourcesense.confluence.cmis.utils;
+
+/**
+ * @author Carlo Sciolla <c.sc...@sourcesense.com>
+ */
+public class VelocityNullChecker
+{
+ public final boolean isNull (Object obj)
+ {
+ return obj == null;
+ }
+}

Reply all
Reply to author
Forward
0 new messages