You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by qu...@apache.org on 2003/05/28 00:26:21 UTC

cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/util/uri URIUtils.java

quintonm    2003/05/27 15:26:21

  Modified:    src/java/org/apache/turbine/util/uri URIUtils.java
  Log:
  Style fixes
  
  Revision  Changes    Path
  1.2       +18 -18    jakarta-turbine-2/src/java/org/apache/turbine/util/uri/URIUtils.java
  
  Index: URIUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/uri/URIUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- URIUtils.java	7 May 2003 13:58:20 -0000	1.1
  +++ URIUtils.java	27 May 2003 22:26:21 -0000	1.2
  @@ -59,28 +59,28 @@
   /**
    * Bundles a few static routines concerning URIs, that you
    * will need all the time.
  - * 
  + *
    * @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a>
    * @version $Id$
    */
   
   public abstract class URIUtils
   {
  -  /**
  -   * Convert a given Path into a Turbine Data URI. The resulting
  -   * path contains no path_info or query data. If you have a current
  -   * runData object around, you should use DataURI and setScriptName()!.
  -   *
  -   * @param path A relative path
  -   *
  -   * @return the absolute path for the request.
  -   *
  -   */
  +    /**
  +     * Convert a given Path into a Turbine Data URI. The resulting
  +     * path contains no path_info or query data. If you have a current
  +     * runData object around, you should use DataURI and setScriptName()!.
  +     *
  +     * @param path A relative path
  +     *
  +     * @return the absolute path for the request.
  +     *
  +     */
   
  -  public static String getAbsoluteLink(String path)
  -  {
  -    DataURI du = new DataURI(Turbine.getDefaultServerData());
  -    du.setScriptName(path);
  -    return du.getAbsoluteLink();
  -  }
  +    public static String getAbsoluteLink(String path)
  +    {
  +        DataURI du = new DataURI(Turbine.getDefaultServerData());
  +        du.setScriptName(path);
  +        return du.getAbsoluteLink();
  +    }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org