From c0a194c3cca74c55d280b7f9a5a7b6728968b6da Mon Sep 17 00:00:00 2001 From: Bruno Garcia Date: Tue, 10 May 2011 18:57:19 +0000 Subject: [PATCH] Like the Java version, prevent superfluous whitespace from being generated from empty args lists. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6638 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../resources/com/threerings/presents/tools/marshaller_as.tmpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/com/threerings/presents/tools/marshaller_as.tmpl b/src/main/resources/com/threerings/presents/tools/marshaller_as.tmpl index feb6de93c..0a0571fe5 100644 --- a/src/main/resources/com/threerings/presents/tools/marshaller_as.tmpl +++ b/src/main/resources/com/threerings/presents/tools/marshaller_as.tmpl @@ -29,7 +29,9 @@ public class {{name}}Marshaller extends InvocationMarshaller listener{{index}}.listener = arg{{index}}; {{/listenerArgs}} sendRequest({{code}}, [ +{{#hasArgs}} {{getASWrappedArgList}} +{{/hasArgs}} ]); } {{/methods}}