From b74952a097070344e393c2bb34dad45bf05a4ed7 Mon Sep 17 00:00:00 2001 From: Jamie Doornbos Date: Thu, 7 Apr 2011 04:42:14 +0000 Subject: [PATCH] Allow final classes to be streamed too git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6616 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/main/java/com/threerings/presents/tools/GenUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/threerings/presents/tools/GenUtil.java b/src/main/java/com/threerings/presents/tools/GenUtil.java index bc36bfbc8..8e0fb9ee6 100644 --- a/src/main/java/com/threerings/presents/tools/GenUtil.java +++ b/src/main/java/com/threerings/presents/tools/GenUtil.java @@ -47,7 +47,7 @@ public class GenUtil extends com.samskivert.util.GenUtil /** A regular expression for matching the class or interface declaration. */ public static final Pattern NAME_PATTERN = - Pattern.compile("^\\s*public\\s+(?:abstract\\s+)?(@?interface|class|enum)\\s+([\\w$]+)"); + Pattern.compile("^\\s*public\\s+(?:(?:abstract|final)\\s+)*(@?interface|class|enum)\\s+([\\w$]+)"); /** * Returns the name of the supplied class as it would appear in ActionScript code using the