diff dwtx/jface/text/contentassist/ContextInformation.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 b6bad70d540a
line wrap: on
line diff
--- a/dwtx/jface/text/contentassist/ContextInformation.d	Sun Aug 24 01:29:22 2008 +0200
+++ b/dwtx/jface/text/contentassist/ContextInformation.d	Sun Aug 24 01:46:20 2008 +0200
@@ -98,7 +98,7 @@
      */
     public bool equals(Object object) {
         if (object instanceof IContextInformation) {
-            IContextInformation contextInformation= (IContextInformation) object;
+            IContextInformation contextInformation= cast(IContextInformation) object;
             bool equals= fInformationDisplayString.equalsIgnoreCase(contextInformation.getInformationDisplayString());
             if (fContextDisplayString !is null)
                 equals= equals && fContextDisplayString.equalsIgnoreCase(contextInformation.getContextDisplayString());