2002/08/28 23:02:43
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:50:23 +0000 (06:50 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:50:23 +0000 (06:50 +0000)
darcs-hash:20040130065023-2ba56-c19e27f41ea2ec40e179e568923d82a3984e670c.gz

src/org/xwt/Box.java
src/org/xwt/Main.java

index c0891f5..d380b45 100644 (file)
@@ -414,7 +414,6 @@ public final class Box extends JSObject {
 
     /** loads the image described by string str, possibly blocking for a network load */
     static ImageDecoder getImage(String str, final Function callback) {
-        ImageDecoder ret = null;
         boolean ispng = false;
 
         if (str.indexOf(':') == -1) {
index 3fe68af..a94ca81 100644 (file)
@@ -113,7 +113,7 @@ public class Main extends Applet {
             if (Log.on) Log.log(Main.class, "instantiating " + initialTemplate);
             final String initialTemplate_f = initialTemplate;
             ThreadMessage.newthread(new JSObject.JSFunction() {
-                    public Object call(Context cx, Scriptable thisObj, Scriptable ctorObj, Object[] args) throws JavaScriptException {
+                    public Object call(Context cx, Scriptable thisObj, Scriptable ctorObj, Object[] arg) throws JavaScriptException {
                         new Box(initialTemplate_f, null);
                         return null;
                     }