Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/search SearchSwishe.java SearchResultItem.java

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/search SearchSwishe.java SearchResultItem.java

Author stack
Full name Michael Stack
Date 2000-10-30 22:13:44 PST
Message User: stack
  Date: 00/10/30 22:13:44

  Modified: java/org/joist/search SearchSwishe.java
                        SearchResultItem.java
  Log:
  Made new constructors to take new htdoc argument.
  
  Revision Changes Path
  1.5 +4 -4 joist/java/org/joist​/search/SearchSwishe​.java
  
  Index: SearchSwishe.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/search/SearchS​wishe.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SearchSwishe.java 2000/10/31 05:59:33 1.4
  +++ SearchSwishe.java 2000/10/31 06:13:44 1.5
  @@ -59,7 +59,7 @@
   * in a title or header tag (if it's an HTML file), etc.
   * </p>
   * @author <a href="mailto:stack@c​ollab.net">St.Ack​</a>
  -* @version $Id: SearchSwishe.java,v 1.4 2000/10/31 05:59:33 stack Exp $
  +* @version $Id: SearchSwishe.java,v 1.5 2000/10/31 06:13:44 stack Exp $
   * @see <a href="http://sunsite.berke​ley.edu/SWISH-E/Manu​al">Swish-e Documentation</a>
   */
   public class SearchSwishe
  @@ -68,7 +68,7 @@
       /** Class version string
       */
       private static final String versionID
  - = "$Id: SearchSwishe.java,v 1.4 2000/10/31 05:59:33 stack Exp $";
  + = "$Id: SearchSwishe.java,v 1.5 2000/10/31 06:13:44 stack Exp $";
   
   
       /** Define key for pulling system property DEBUG.
  @@ -216,7 +216,7 @@
                   gnu.regexp.REException,
                   NullPointerException
       {
  - this( inBinary );
  + this( inBinary, null );
       }
   
       /** Constructor.
  @@ -508,7 +508,7 @@
                           size,
                           url,
                           title,
  - docRoot );
  + docRoot ) );
               }
           } // End of label_results if..else
   
  
  
  
  1.5 +5 -5 joist/java/org/joist​/search/SearchResult​Item.java
  
  Index: SearchResultItem.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/search/SearchR​esultItem.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SearchResultItem.java 2000/10/31 05:59:33 1.4
  +++ SearchResultItem.java 2000/10/31 06:13:44 1.5
  @@ -51,14 +51,14 @@
   * &laquo;Immutable -- Read-Only.&raquo;
   *
   * @author <a href="mailto:stack@c​ollab.net">St.Ack​</a>
  -* @version $Id: SearchResultItem.java,v 1.4 2000/10/31 05:59:33 stack Exp $
  +* @version $Id: SearchResultItem.java,v 1.5 2000/10/31 06:13:44 stack Exp $
   */
   public class SearchResultItem
   {
       /** Class version string
       */
       public static final String versionID
  - = "$Id: SearchResultItem.java,v 1.4 2000/10/31 05:59:33 stack Exp $";
  + = "$Id: SearchResultItem.java,v 1.5 2000/10/31 06:13:44 stack Exp $";
   
   
       /** Search engine ranking.
  @@ -138,7 +138,7 @@
                                   String inTitle )
           throws NullPointerException
       {
  - this( inRanking, inSize, inUrl, inTitle, null );
  + this( inRanking, inSize, inURL, inTitle, null );
       }
   
   
  @@ -210,8 +210,8 @@
           {
               if( str2Return.indexOf( htdocPath ) != -1 )
               {
  - int len = htdocPath.length( );\
  - if( htdocPath.endsWith( "/" );
  + int len = htdocPath.length( );
  + if( htdocPath.endsWith( "/" ) )
                       len -= 1;
                   str2Return
                       = str2Return.substring( len );

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/search SearchSwishe.java SearchResultItem.java stack Michael Stack 2000-10-30 22:13:44 PST
Messages per page: