lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene-sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage StoragePipeline.java
Date Sun, 15 Sep 2002 00:01:13 GMT
otis        2002/09/14 17:01:13

  Modified:    contributions/webcrawler-LARM/src/de/lanlab/larm/storage
                        StoragePipeline.java
  Log:
  - Made attributes private.
  - Added FIXME.
  
  Revision  Changes    Path
  1.3       +8 -10     jakarta-lucene-sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage/StoragePipeline.java
  
  Index: StoragePipeline.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage/StoragePipeline.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StoragePipeline.java	18 Jun 2002 00:44:22 -0000	1.2
  +++ StoragePipeline.java	15 Sep 2002 00:01:13 -0000	1.3
  @@ -64,16 +64,15 @@
   /**
    * @author    Clemens Marschner
    * @created   1. Juni 2002
  - * @version   $ver: $
  + * @version   $Id$
    */
  -
   public class StoragePipeline implements DocumentStorage, LinkStorage
   {
   
  -    boolean isOpen;
  -    boolean isLinkStorageOpen;
  -    ArrayList docStorages;
  -    ArrayList linkStorages;
  +    private boolean isOpen;
  +    private boolean isLinkStorageOpen;
  +    private ArrayList docStorages;
  +    private ArrayList linkStorages;
   
   
       /**
  @@ -95,6 +94,7 @@
       {
           for (Iterator it = docStorages.iterator(); it.hasNext(); )
           {
  +	    // FIXME: replace with logging
               System.out.println("opening...");
               ((DocumentStorage) it.next()).open();
           }
  @@ -115,7 +115,7 @@
           for(Iterator it = docStorages.iterator(); it.hasNext();)
           {
               doc = ((DocumentStorage)it.next()).store(doc);
  -            if(doc == null)
  +            if (doc == null)
               {
                   break;
               }
  @@ -152,7 +152,6 @@
           linkStorages.add(storage);
       }
   
  -
       public void openLinkStorage()
       {
           for (Iterator it = linkStorages.iterator(); it.hasNext(); )
  @@ -167,7 +166,7 @@
           for(Iterator it = linkStorages.iterator(); it.hasNext();)
           {
               c =  ((LinkStorage)it.next()).storeLinks(c);
  -            if(c == null)
  +            if (c == null)
               {
                   break;
               }
  @@ -175,4 +174,3 @@
           return c;
       }
   }
  -
  
  
  

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


Mime
View raw message