2b75b07e by Adam Heath

Fix nested list processing of log arguments.

1 parent d2ec9a6d
...@@ -4,7 +4,6 @@ import java.io.File; ...@@ -4,7 +4,6 @@ import java.io.File;
4 import java.io.FileNotFoundException; 4 import java.io.FileNotFoundException;
5 import java.io.FileReader; 5 import java.io.FileReader;
6 import java.io.IOException; 6 import java.io.IOException;
7 import java.util.Arrays;
8 import java.util.HashMap; 7 import java.util.HashMap;
9 import java.util.Map; 8 import java.util.Map;
10 9
...@@ -64,7 +63,7 @@ public class OfbizRhinoContainer extends RhinoContainer<OfbizRhinoContainer> { ...@@ -64,7 +63,7 @@ public class OfbizRhinoContainer extends RhinoContainer<OfbizRhinoContainer> {
64 } 63 }
65 64
66 public void print(Context cx, Scriptable thisObj, Object[] args, Function funObj) { 65 public void print(Context cx, Scriptable thisObj, Object[] args, Function funObj) {
67 Debug.logInfo("print:%s", module, Arrays.asList(args)); 66 Debug.logInfo("print:%s", module, args);
68 } 67 }
69 68
70 public void processSource(Context cx, Scriptable thisObj, String filename) throws FileNotFoundException, IOException { 69 public void processSource(Context cx, Scriptable thisObj, String filename) throws FileNotFoundException, IOException {
......