diff dwtx/jface/text/templates/TemplateContext.d @ 134:51e6e63f930e

Regex fix for casts
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 01:46:20 +0200
parents 7d818bd32d63
children ea8dd2e11034
line wrap: on
line diff
--- a/dwtx/jface/text/templates/TemplateContext.d	Sun Aug 24 01:29:22 2008 +0200
+++ b/dwtx/jface/text/templates/TemplateContext.d	Sun Aug 24 01:46:20 2008 +0200
@@ -111,7 +111,7 @@
      * @return returns the value of the variable, <code>null</code> if the variable was not defined
      */
     public String getVariable(String name) {
-        return (String) fVariables.get(name);
+        return cast(String) fVariables.get(name);
     }
 
     /**