mass rename and rebranding from xwt to ibex - fixed to use ixt files
[org.ibex.core.git] / src / org / xwt / translators / GIF.java
index 53dca2b..572c124 100644 (file)
  */
 package org.xwt.translators;
 
-import org.xwt.*;
-import org.xwt.util.*;
+import org.ibex.*;
+import org.ibex.util.*;
 import java.io.BufferedInputStream;
 import java.io.InputStream;
 import java.io.IOException;
-import java.io.PrintWriter;
 
 /** Converts an InputStream carrying a GIF image into an ARGB int[] */
 public class GIF {
@@ -60,12 +59,12 @@ public class GIF {
     private static Queue instances = new Queue(10);
 
     public static void load(InputStream is, Picture p) {
-        GIF g = (GIF)instances.remove();
+        GIF g = (GIF)instances.remove(false);
         if (g == null) g = new GIF();
         try {
             g._load(is, p);
         } catch (Exception e) {
-            if (Log.on) Log.log(GIF.class, e);
+            if (Log.on) Log.info(GIF.class, e);
             return;
         }
         // FIXME: must reset fields