Revision: 3221
          http://vexi.svn.sourceforge.net/vexi/?rev=3221&view=rev
Author:   clrg
Date:     2008-11-19 01:49:31 +0000 (Wed, 19 Nov 2008)

Log Message:
-----------
Remove obnoxious error throws that were meant only for debugging

Modified Paths:
--------------
    trunk/core/org.vexi.core/src/org/vexi/util/DirtyList.java

Modified: trunk/core/org.vexi.core/src/org/vexi/util/DirtyList.java
===================================================================
--- trunk/core/org.vexi.core/src/org/vexi/util/DirtyList.java   2008-11-19 
01:24:38 UTC (rev 3220)
+++ trunk/core/org.vexi.core/src/org/vexi/util/DirtyList.java   2008-11-19 
01:49:31 UTC (rev 3221)
@@ -45,8 +45,7 @@
      */
     private synchronized void dirty(int x, int y, int w, int h, int ind) {
         int _n;
-        if (w<x) throw new Error("width<x");
-        if (h<y) throw new Error("height<y");
+        if (w<x || h<y) return;
         for(int i=ind; i<numdirties; i++) {
             _n = 4*i;
             if (dirties[_n]<0) continue;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to