portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/util/template BaseJetspeedLink.java
Date Sat, 17 Aug 2002 00:02:25 GMT
taylor      2002/08/16 17:02:25

  Modified:    src/java/org/apache/jetspeed/util/template
                        BaseJetspeedLink.java
  Log:
  Fixed bug in country and media type links
  
  Revision  Changes    Path
  1.15      +3 -3      jakarta-jetspeed/src/java/org/apache/jetspeed/util/template/BaseJetspeedLink.java
  
  Index: BaseJetspeedLink.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/util/template/BaseJetspeedLink.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- BaseJetspeedLink.java	23 Jul 2002 00:03:55 -0000	1.14
  +++ BaseJetspeedLink.java	17 Aug 2002 00:02:24 -0000	1.15
  @@ -619,7 +619,7 @@
               // Set Country in path
               if (country != null)
               {
  -                if (mediaType.length() > 0)
  +                if (country.length() > 0)
                       uri.addPathInfo( Profiler.PARAM_COUNTRY, country);
                   else
                       uri.removePathInfo( Profiler.PARAM_COUNTRY);
  @@ -1236,7 +1236,7 @@
       
       public DynamicURI setMediaType(String mediaType)
       {
  -        return getLink( JetspeedLink.CURRENT, null, null, JetspeedLink.DEFAULT, null, null,null,null,mediaType);
  +        return getLink( JetspeedLink.CURRENT, null, null, JetspeedLink.DEFAULT, null, null,null,mediaType);
       }
   
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message