tkormann    02/05/11 03:23:25

  Modified:    sources/org/apache/batik/gvt/renderer DynamicRenderer.java
                        Renderer.java StaticRenderer.java
  Log:
  FIX BUG #8330
  
  Remove the throws InterruptedException statement because the renderer
  never throws such an exception and just stops rendering normally.
  
  Revision  Changes    Path
  1.11      +2 -2      
xml-batik/sources/org/apache/batik/gvt/renderer/DynamicRenderer.java
  
  Index: DynamicRenderer.java
  ===================================================================
  RCS file: 
/home/cvs/xml-batik/sources/org/apache/batik/gvt/renderer/DynamicRenderer.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DynamicRenderer.java      22 Feb 2002 16:52:09 -0000      1.10
  +++ DynamicRenderer.java      11 May 2002 10:23:25 -0000      1.11
  @@ -30,7 +30,7 @@
    * Simple implementation of the Renderer that supports dynamic updates.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Thierry Kormann</a>
  - * @version $Id: DynamicRenderer.java,v 1.10 2002/02/22 16:52:09 tkormann Exp $
  + * @version $Id: DynamicRenderer.java,v 1.11 2002/05/11 10:23:25 tkormann Exp $
    */
   public class DynamicRenderer extends StaticRenderer {
   
  @@ -83,7 +83,7 @@
        * user space coordinate system.  
        */
       // long lastFrame = -1;
  -    public void repaint(List areas) throws InterruptedException {
  +    public void repaint(List areas) {
           if (areas == null)
               return;
   
  
  
  
  1.8       +3 -3      xml-batik/sources/org/apache/batik/gvt/renderer/Renderer.java
  
  Index: Renderer.java
  ===================================================================
  RCS file: /home/cvs/xml-batik/sources/org/apache/batik/gvt/renderer/Renderer.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Renderer.java     23 Jan 2002 14:14:09 -0000      1.7
  +++ Renderer.java     11 May 2002 10:23:25 -0000      1.8
  @@ -19,7 +19,7 @@
    * Interface for GVT Renderers.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]>Vincent Hardy</a>
  - * @version $Id: Renderer.java,v 1.7 2002/01/23 14:14:09 deweese Exp $
  + * @version $Id: Renderer.java,v 1.8 2002/05/11 10:23:25 tkormann Exp $
    */
   public interface Renderer {
   
  @@ -41,7 +41,7 @@
        * @param areas the region to be repainted, in the current user
        * space coordinate system.  
        */
  -    public void repaint(Shape area) throws InterruptedException;
  +    public void repaint(Shape area);
   
       /**
        * Repaints the associated GVT tree at least in areas under the
  @@ -50,7 +50,7 @@
        * @param areas a List of regions to be repainted, in the current
        * user space coordinate system.  
        */
  -    public void repaint(List areas) throws InterruptedException;
  +    public void repaint(List areas);
   
       /**
        * Sets the transform from the current user space (as defined by
  
  
  
  1.23      +3 -3      
xml-batik/sources/org/apache/batik/gvt/renderer/StaticRenderer.java
  
  Index: StaticRenderer.java
  ===================================================================
  RCS file: 
/home/cvs/xml-batik/sources/org/apache/batik/gvt/renderer/StaticRenderer.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- StaticRenderer.java       22 Feb 2002 16:52:09 -0000      1.22
  +++ StaticRenderer.java       11 May 2002 10:23:25 -0000      1.23
  @@ -45,7 +45,7 @@
    * rendering in an offscreen buffer image.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]>Vincent Hardy</a>
  - * @version $Id: StaticRenderer.java,v 1.22 2002/02/22 16:52:09 tkormann Exp $
  + * @version $Id: StaticRenderer.java,v 1.23 2002/05/11 10:23:25 tkormann Exp $
    */
   public class StaticRenderer implements ImageRenderer {
       /**
  @@ -335,7 +335,7 @@
        * @param area region to be repainted, in the current user space
        * coordinate system.  
        */
  -    public void repaint(Shape area) throws InterruptedException {
  +    public void repaint(Shape area) {
           if (area == null) return;
           List l = new ArrayList(1);
           l.add(area);
  @@ -355,7 +355,7 @@
        * @param areas a List of regions to be repainted, in the current
        * user space coordinate system.  
        */
  -    public void repaint(List areas) throws InterruptedException {
  +    public void repaint(List areas) {
   
           if (areas == null)
               return;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to