Stop if we get to a generic type declaration.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2060 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -363,5 +363,5 @@ public class GenRecordTask extends Task
|
||||
|
||||
/** A regular expression for matching the class or interface declaration. */
|
||||
protected static final Pattern NAME_PATTERN = Pattern.compile(
|
||||
"^\\s*public\\s+(?:abstract\\s+)?(interface|class)\\s+(\\S+)(\\W|$)");
|
||||
"^\\s*public\\s+(?:abstract\\s+)?(interface|class)\\s+(\\S+)(\\W|$)(<)?");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user