svn commit: r640472 - /lenya/trunk/src/java/org/apache/lenya/cms/publication/Publication.java

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Mon Mar 24 10:23:21 2008
New Revision: 640472

URL: http://svn.apache.org/viewvc?rev=640472&view=rev
Log:
Added hint about null return value for non-template publications.

Modified:
    lenya/trunk/src/java/org/apache/lenya/cms/publication/Publication.java

Modified: lenya/trunk/src/java/org/apache/lenya/cms/publication/Publication.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/java/org/apache/lenya/cms/publication/Publication.java?rev=640472&r1=640471&r2=640472&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/publication/Publication.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/publication/Publication.java Mon Mar 24 10:23:21 2008
@@ -230,7 +230,8 @@
     Proxy getProxy(String area, boolean isSslProtected);
 
     /**
-     * @return The template of the publication.
+     * @return The ID of the template of the publication or <code>null</code> if the
+     * publication has no template.
      */
     String getTemplateId();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.