Login | Register
My pages Projects Community openCollabNet

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

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/search SearchServlet.java

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

  Modified: java/org/joist/search SearchServlet.java
  Log:
  Added import of com.sun.java.util.collections.*
  
  Revision Changes Path
  1.8 +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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SearchServlet.java 2000/11/06 00:08:21 1.7
  +++ SearchServlet.java 2000/11/06 00:34:53 1.8
  @@ -53,6 +53,7 @@
   import org.joist.search.Query;
   import org.joist.search.SearchSwishe;
   import org.joist.search.SearchResult;
  +import com.sun.java.util.co​llections.*;
   
    
   /** Simple search servlet.
  @@ -97,7 +98,7 @@
   * </ol>
   *
   * @author <a href="mailto:stack@c​ollab.net">St.Ack​</a>
  -* @version $Id: SearchServlet.java,v 1.7 2000/11/06 00:08:21 stack Exp $
  +* @version $Id: SearchServlet.java,v 1.8 2000/11/06 00:34:53 stack Exp $
   */
   public class SearchServlet
       extends org.joist.security.U​nsecureServlet
  @@ -106,7 +107,7 @@
       /** Class version string
       */
       public static final String versionID
  - = "$Id: SearchServlet.java,v 1.7 2000/11/06 00:08:21 stack Exp $";
  + = "$Id: SearchServlet.java,v 1.8 2000/11/06 00:34:53 stack Exp $";
       
       
       /** Logging object.
  @@ -136,8 +137,7 @@
               = super.processRequest( connection, context );
   
            
  - java.util.List missingFields
  - = new java.util.ArrayList( );
  + List missingFields = new ArrayList( );
               
           try
           {
  @@ -248,7 +248,7 @@
                                       String key,
                                       String defaultValue,
                                       String description,
  - java.util.List missingFields)
  + 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( java.util.List missingFields )
  + protected final boolean isValidUserInput( List missingFields )
       {
           return ( missingFields == null || missingFields.isEmpty() );
       }
  @@ -293,7 +293,7 @@
        * @param missingFields The missing fields.
        */
       protected final void reportInvalidUserInput( WebContext context,
  - java.util.List missingFields )
  + List missingFields )
       {
           if (missingFields != null && !missingFields.isEmpty())
           {

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

Messages

Show all messages in topic

CVS update: joist/java/org/joist/search SearchServlet.java stack Michael Stack 2000-11-05 16:34:54 PST
Messages per page: