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 2004/04/30 11:34:23 UTC

cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/publication URLInformation.java

andreas     2004/04/30 02:34:23

  Modified:    src/java/org/apache/lenya/cms/publication
                        URLInformation.java
  Log:
  added forgotten "else"
  
  Revision  Changes    Path
  1.6       +2 -2      cocoon-lenya/src/java/org/apache/lenya/cms/publication/URLInformation.java
  
  Index: URLInformation.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/URLInformation.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- URLInformation.java	30 Apr 2004 08:19:21 -0000	1.5
  +++ URLInformation.java	30 Apr 2004 09:34:23 -0000	1.6
  @@ -86,7 +86,7 @@
               if (completeArea.startsWith(Publication.INFO_AREA_PREFIX)) {
   				this.area = completeArea.substring(Publication.INFO_AREA_PREFIX.length());
               }
  -            if (completeArea.startsWith(Publication.SEARCH_AREA_PREFIX)) {
  +            else if (completeArea.startsWith(Publication.SEARCH_AREA_PREFIX)) {
                   this.area = completeArea.substring(Publication.SEARCH_AREA_PREFIX.length());
               }
               else {
  
  
  

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