You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by eg...@apache.org on 2003/08/27 14:45:17 UTC
cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/publication Document.java
egli 2003/08/27 05:45:17
Modified: src/java/org/apache/lenya/cms/publication Document.java
Log:
Imporved Javadoc to clarify the fact that there is one language
associated with a document but there are possibly a number
of languages for which there are also documents with the
same document-id.
Revision Changes Path
1.16 +7 -2 cocoon-lenya/src/java/org/apache/lenya/cms/publication/Document.java
Index: Document.java
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/Document.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- Document.java 14 Aug 2003 13:48:53 -0000 1.15
+++ Document.java 27 Aug 2003 12:45:17 -0000 1.16
@@ -112,13 +112,18 @@
/**
* Returns the language of this document.
+ * Each document has one language associated to it.
* @return A string denoting the language.
*/
String getLanguage();
/**
* Returns all the languages this document is available in.
- * @return An array of strings denoting the languages.
+ * A document has one associated language (@see Document#getLanguage)
+ * but there are possibly a number of other languages for which a
+ * document with the same document-id is also available in.
+ *
+ * @return An array of strings denoting the languages.
*
* @throws DocumentException if an error occurs
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org