Mercurial > projects > dwt-addons
comparison dwtx/jface/text/templates/TemplateVariableType.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 |
comparison
equal
deleted
inserted
replaced
133:7d818bd32d63 | 134:51e6e63f930e |
---|---|
88 /* | 88 /* |
89 * @see java.lang.Object#equals(java.lang.Object) | 89 * @see java.lang.Object#equals(java.lang.Object) |
90 */ | 90 */ |
91 public bool equals(Object obj) { | 91 public bool equals(Object obj) { |
92 if (obj instanceof TemplateVariableType) { | 92 if (obj instanceof TemplateVariableType) { |
93 TemplateVariableType other= (TemplateVariableType) obj; | 93 TemplateVariableType other= cast(TemplateVariableType) obj; |
94 return other.fName.equals(fName) && other.fParams.equals(fParams); | 94 return other.fName.equals(fName) && other.fParams.equals(fParams); |
95 } | 95 } |
96 return false; | 96 return false; |
97 } | 97 } |
98 | 98 |