You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2021/03/15 23:05:14 UTC

[royale-compiler] 02/02: playerglobalc: accidentally put into REST_METHODS instead of ANY_METHODS

This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit 3b1f473fd352f52d6e2b592a62f28271dec57032
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Mon Mar 15 16:04:54 2021 -0700

    playerglobalc: accidentally put into REST_METHODS instead of ANY_METHODS
---
 .../main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
index b45f41c..d61d0a8 100644
--- a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
+++ b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
@@ -81,11 +81,11 @@ class PLAYERGLOBALC implements FlexTool {
 	}
 	private static final Map<String, List<String>> ANY_METHODS = new HashMap<String, List<String>>();
 	{
-		REST_METHODS.put("XML", Arrays.asList("addNamespace", "appendChild", "attribute",
+		ANY_METHODS.put("XML", Arrays.asList("addNamespace", "appendChild", "attribute",
 			"child", "contains", "descendants", "elements", "insertChildAfter", "insertChildBefore", "namespace",
 			"prependChild", "processingInstructions", "removeNamespace", "replace", "setChildren", "setName",
 			"setNamespace"));
-		REST_METHODS.put("XMLList", Arrays.asList("addNamespace", "appendChild", "attribute",
+		ANY_METHODS.put("XMLList", Arrays.asList("addNamespace", "appendChild", "attribute",
 			"child", "contains", "descendants", "elements", "insertChildAfter", "insertChildBefore", "namespace",
 			"prependChild", "processingInstructions", "removeNamespace", "replace", "setChildren", "setName",
 			"setNamespace"));