Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/search SearchResult.java SearchServlet.java SearchSwishe.java SelfTest.java

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/search SearchResult.java SearchServlet.java SearchSwishe.java SelfTest.java

Author stack
Full name Michael Stack
Date 2000-11-05 16:08:21 PST
Message User: stack
  Date: 00/11/05 16:08:21

  Modified: java/org/joist/search SearchResult.java SearchServlet.java
                        SearchSwishe.java SelfTest.java
  Log:
  Changed com.java.util.collections to java.util references
  
  Revision Changes Path
  1.4 +5 -5 joist/java/org/joist​/search/SearchResult​.java
  
  Index: SearchResult.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/search/SearchR​esult.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SearchResult.java 2000/10/25 20:31:17 1.3
  +++ SearchResult.java 2000/11/06 00:08:21 1.4
  @@ -56,14 +56,14 @@
   * etc., as well as a SearchResultItem per result returned.
   *
   * @author <a href="mailto:stack@c​ollab.net">St.Ack​</a>
  -* @version $Id: SearchResult.java,v 1.3 2000/10/25 20:31:17 stack Exp $
  +* @version $Id: SearchResult.java,v 1.4 2000/11/06 00:08:21 stack Exp $
   */
   public class SearchResult
   {
       /** Class version string
       */
       public static final String versionID
  - = "$Id: SearchResult.java,v 1.3 2000/10/25 20:31:17 stack Exp $";
  + = "$Id: SearchResult.java,v 1.4 2000/11/06 00:08:21 stack Exp $";
       
       
       /** Array of search results.
  @@ -74,7 +74,7 @@
       * uniqueness. Or SortedSet might help when it comes
       * to sorting time.
       */
  - private com.sun.java.util.co​llections.List resultItems = null;
  + private java.util.List resultItems = null;
       
       
       /** Name of index results came from.
  @@ -149,7 +149,7 @@
       * doesn't match the inResultItems or is negative.
       */
       public SearchResult( Query inQuery,
  - com.sun.java.util.co​llections.List inResultItems,
  + java.util.List inResultItems,
                               String inIndexName,
                               int inNumberOfHits,
                               String inIndexModDate,
  @@ -233,7 +233,7 @@
       /** Accessor for search result items.
       * @return Array of SearchResultItems. May be null if no results returned
       */
  - public com.sun.java.util.co​llections.List getSearchResultItems( )
  + public java.util.List getSearchResultItems( )
       {
           return resultItems;
       }
  
  
  
  1.7 +7 -7 joist/java/org/joist​/search/SearchServle​t.java
  
  Index: SearchServlet.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/search/SearchS​ervlet.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SearchServlet.java 2000/11/02 02:20:34 1.6
  +++ SearchServlet.java 2000/11/06 00:08:21 1.7
  @@ -97,7 +97,7 @@
   * </ol>
   *
   * @author <a href="mailto:stack@c​ollab.net">St.Ack​</a>
  -* @version $Id: SearchServlet.java,v 1.6 2000/11/02 02:20:34 stack Exp $
  +* @version $Id: SearchServlet.java,v 1.7 2000/11/06 00:08:21 stack Exp $
   */
   public class SearchServlet
       extends org.joist.security.U​nsecureServlet
  @@ -106,7 +106,7 @@
       /** Class version string
       */
       public static final String versionID
  - = "$Id: SearchServlet.java,v 1.6 2000/11/02 02:20:34 stack Exp $";
  + = "$Id: SearchServlet.java,v 1.7 2000/11/06 00:08:21 stack Exp $";
       
       
       /** Logging object.
  @@ -136,8 +136,8 @@
               = super.processRequest( connection, context );
   
            
  - com.sun.java.util.co​llections.List missingFields
  - = new com.sun.java.util.co​llections.ArrayList(​ );
  + java.util.List missingFields
  + = new java.util.ArrayList( );
               
           try
           {
  @@ -248,7 +248,7 @@
                                       String key,
                                       String defaultValue,
                                       String description,
  - com.sun.java.util.co​llections.List missingFields)
  + java.util.List missingFields)
       {
           String value = context.getForm(key);
           if ( value == null || value.length( ) <= 0 )
  @@ -276,7 +276,7 @@
        * @param missingFields The missing fields.
        * @return The validity of the user input.
        */
  - protected final boolean isValidUserInput( com.sun.java.util.co​llections.List missingFields )
  + protected final boolean isValidUserInput( java.util.List missingFields )
       {
           return ( missingFields == null || missingFields.isEmpty() );
       }
  @@ -293,7 +293,7 @@
        * @param missingFields The missing fields.
        */
       protected final void reportInvalidUserInput( WebContext context,
  - com.sun.java.util.co​llections.List missingFields )
  + java.util.List missingFields )
       {
           if (missingFields != null && !missingFields.isEmpty())
           {
  
  
  
  1.7 +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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SearchSwishe.java 2000/11/02 02:20:34 1.6
  +++ SearchSwishe.java 2000/11/06 00:08:21 1.7
  @@ -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.6 2000/11/02 02:20:34 stack Exp $
  +* @version $Id: SearchSwishe.java,v 1.7 2000/11/06 00:08:21 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.6 2000/11/02 02:20:34 stack Exp $";
  + = "$Id: SearchSwishe.java,v 1.7 2000/11/06 00:08:21 stack Exp $";
   
   
       /** Define key for pulling system property DEBUG.
  @@ -457,7 +457,7 @@
                   NumberFormatException,
                   java.net.MalformedURLException
       {
  - com.sun.java.util.co​llections.List searchResultItems = null;
  + java.util.List searchResultItems = null;
           java.util.Hashtable hashOfHeaders = new java.util.Hashtable( );
           gnu.regexp.REMatch match = null; // General match pointer. Reused.
           String strPtr = null; // General string pointer. Reused.
  @@ -512,7 +512,7 @@
               int size = -1;
               String title = null;
               searchResultItems
  - = new com.sun.java.util.co​llections.ArrayList(​ );
  + = new java.util.ArrayList( );
   
               while( ( match = reSearchResultLine.getMatch( inSearchResults, index ) )
                       != null )
  
  
  
  1.4 +3 -3 joist/java/org/joist​/search/SelfTest.jav​a
  
  Index: SelfTest.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/search/SelfTes​t.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SelfTest.java 2000/11/02 19:33:48 1.3
  +++ SelfTest.java 2000/11/06 00:08:21 1.4
  @@ -84,7 +84,7 @@
   *
   * @see <a href="http://www.junit.org">JUnit Site</a>
   * @author <a href="mailto:stack@c​ollab.net">St.Ack​</a>
  -* @version $Id: SelfTest.java,v 1.3 2000/11/02 19:33:48 stack Exp $
  +* @version $Id: SelfTest.java,v 1.4 2000/11/06 00:08:21 stack Exp $
   */
   public class SelfTest
       extends junit.framework.TestCase
  @@ -93,7 +93,7 @@
       /** Class version string
       */
       public static final String versionID
  - = "$Id: SelfTest.java,v 1.3 2000/11/02 19:33:48 stack Exp $";
  + = "$Id: SelfTest.java,v 1.4 2000/11/06 00:08:21 stack Exp $";
       
       
       /** Use this key to pull query from system properties.
  @@ -278,7 +278,7 @@
               }
               
               assertNotNull( "SearchResult object is null", searchresult );
  - com.sun.java.util.co​llections.List items
  + java.util.List items
                   = searchresult.getSear​chResultItems( );
               if( searchresult.getNumberOfHits( ) > 0 )
               {

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

Messages

Show all messages in topic

CVS update: joist/java/org/joist/search SearchResult.java SearchServlet.java SearchSwishe.java SelfTest.java stack Michael Stack 2000-11-05 16:08:21 PST
Messages per page: