lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/publication DefaultDocumentBuilder.java
Date Thu, 21 Aug 2003 10:30:02 GMT
egli        2003/08/21 03:30:02

  Modified:    src/java/org/apache/lenya/cms/publication
                        DefaultDocumentBuilder.java
  Log:
  Some of the code reformated to make more legible.
  
  Revision  Changes    Path
  1.13      +13 -15    cocoon-lenya/src/java/org/apache/lenya/cms/publication/DefaultDocumentBuilder.java
  
  Index: DefaultDocumentBuilder.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/DefaultDocumentBuilder.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DefaultDocumentBuilder.java	20 Aug 2003 15:05:11 -0000	1.12
  +++ DefaultDocumentBuilder.java	21 Aug 2003 10:30:02 -0000	1.13
  @@ -223,18 +223,16 @@
   		return url;
   	}
   
  -	/**
  -	 *  (non-Javadoc)
  -	 * @see org.apache.lenya.cms.publication.DocumentBuilder#buildCanonicalUrl(org.apache.lenya.cms.publication.Publication,
java.lang.String, java.lang.String)
  -	 */
  -	public String buildCanonicalUrl(Publication publication, String area, String documentid){
  -		String url = 
  -			"/"
  -				+ publication.getId()
  -				+ "/"
  -				+ area
  -				+ documentid
  -				+ ".html";
  -		return url;
  -	}
  +    /**
  +     *  (non-Javadoc)
  +     * @see org.apache.lenya.cms.publication.DocumentBuilder#buildCanonicalUrl(org.apache.lenya.cms.publication.Publication,
java.lang.String, java.lang.String)
  +     */
  +    public String buildCanonicalUrl(
  +        Publication publication,
  +        String area,
  +        String documentid) {
  +        String url =
  +            "/" + publication.getId() + "/" + area + documentid + ".html";
  +        return url;
  +    }
   }
  
  
  

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


Mime
View raw message