jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From catl...@apache.org
Subject cvs commit: jakarta-taglibs/scrape/src/org/apache/taglibs/scrape PageData.java
Date Sat, 07 Sep 2002 18:13:31 GMT
catlett     2002/09/07 11:13:31

  Modified:    scrape/src/org/apache/taglibs/scrape PageData.java
  Log:
  bug fix for 11609
  
  Revision  Changes    Path
  1.10      +9 -3      jakarta-taglibs/scrape/src/org/apache/taglibs/scrape/PageData.java
  
  Index: PageData.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/scrape/src/org/apache/taglibs/scrape/PageData.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- PageData.java	30 Apr 2002 21:53:18 -0000	1.9
  +++ PageData.java	7 Sep 2002 18:13:31 -0000	1.10
  @@ -509,6 +509,12 @@
   	    }
   	}
   
  +	// reset the scraping flag to false if the page thread is not running but
  +	// the scraping flag is true
  +        if (scraping.booleanValue() && !page.isAlive()) {
  +	    scraping = new Boolean(false);
  +	}
  +
           if (scraping.booleanValue() && (newflag || changeflag) && (page
!= null)) {
   	    try {
   	        page.join();    // wait for scrape to finish
  
  
  

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


Mime
View raw message