From 5df4dfe91c9030aa3f4f68856ffcd259ed15047d Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Mon, 7 Feb 2011 21:01:32 +0000 Subject: [PATCH] Handle Comparable too. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6481 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../java/com/threerings/presents/tools/ActionScriptUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/threerings/presents/tools/ActionScriptUtils.java b/src/main/java/com/threerings/presents/tools/ActionScriptUtils.java index 3bce1c2d3..0b53122e4 100644 --- a/src/main/java/com/threerings/presents/tools/ActionScriptUtils.java +++ b/src/main/java/com/threerings/presents/tools/ActionScriptUtils.java @@ -218,6 +218,8 @@ public class ActionScriptUtils return "Boolean"; } else if (Cloneable.class.equals(type)) { return "com.threerings.util.Cloneable"; + } else if (Comparable.class.equals(type)) { + return "com.threerings.util.Comparable"; } else { // inner classes are not supported by ActionScript so we _ return type.getName().replaceAll("\\$", "_");