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 2006/02/17 11:10:29 UTC

svn commit: r378475 - /lenya/trunk/src/java/org/apache/lenya/cms/publication/DocumentIdentifier.java

Author: andreas
Date: Fri Feb 17 02:10:27 2006
New Revision: 378475

URL: http://svn.apache.org/viewcvs?rev=378475&view=rev
Log:
Implemented DocumentIdentifier.toString()

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

Modified: lenya/trunk/src/java/org/apache/lenya/cms/publication/DocumentIdentifier.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/cms/publication/DocumentIdentifier.java?rev=378475&r1=378474&r2=378475&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/publication/DocumentIdentifier.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/publication/DocumentIdentifier.java Fri Feb 17 02:10:27 2006
@@ -79,4 +79,8 @@
     protected String getKey() {
         return this.publication.getId() + ":" + this.area + ":" + this.id + ":" + this.language;
     }
+    
+    public String toString() {
+        return getKey();
+    }
 }



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