X-Git-Url: http://git.megacz.com/?p=org.ibex.js.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjs%2FXMLRPC.java;h=cdf478969835fcbb377093734e5f482acc200abd;hp=44324e0171f18059da6502bdd650a8cf3e41d2d2;hb=a1e6b7e9307319c0195b0efbe5e5354c128be481;hpb=5a5f5ef235158d513c1f2879dc916b115a4fa9d0 diff --git a/src/org/ibex/js/XMLRPC.java b/src/org/ibex/js/XMLRPC.java index 44324e0..cdf4789 100644 --- a/src/org/ibex/js/XMLRPC.java +++ b/src/org/ibex/js/XMLRPC.java @@ -40,7 +40,7 @@ public class XMLRPC extends JS.Immutable { public XMLRPC(String url, String method, XMLRPC httpSource) { this.http = httpSource.http; this.url = url; this.method = method; } public JS get(JS name) throws JSExn { - return new XMLRPC(url, (method.equals("") ? "" : method + ".") + Script.toString(name), this); } + return new XMLRPC(url, (method.equals("") ? "" : method + ".") + JSU.toString(name), this); } /** this holds character content as we read it in -- since there is only one per instance, we don't support mixed content */ @@ -150,7 +150,7 @@ public class XMLRPC extends JS.Immutable { for(i=objects.size() - 1; objects.get(i) != null; i--); JSArray arr = new JSArray(); try { - for(int j = i + 1; j\n"); JSArray a = (JSArray)o; for(int i=0; i < a.size(); i++) appendObject(a.get(i), sb); @@ -287,7 +287,7 @@ public class XMLRPC extends JS.Immutable { } else if (o instanceof JS) { if (tracker.get(o) != null) throw new JSExn("attempted to send multi-ref data structure via XML-RPC"); - tracker.put(o, Script.B(true)); + tracker.put(o, JSU.B(true)); JS j = (JS)o; sb.append(" \n"); Enumeration e = j.keys();