Mercurial > projects > dwt-addons
diff dwtx/jface/text/templates/ContextTypeRegistry.d @ 134:51e6e63f930e
Regex fix for casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:46:20 +0200 |
parents | c4fb132a086c |
children | 75302ef3f92f |
line wrap: on
line diff
--- a/dwtx/jface/text/templates/ContextTypeRegistry.d Sun Aug 24 01:29:22 2008 +0200 +++ b/dwtx/jface/text/templates/ContextTypeRegistry.d Sun Aug 24 01:46:20 2008 +0200 @@ -70,7 +70,7 @@ * @return the context type if <code>name</code> is valid, <code>null</code> otherwise */ public TemplateContextType getContextType(String id) { - return (TemplateContextType) fContextTypes.get(id); + return cast(TemplateContextType) fContextTypes.get(id); } /**