comparison dwtx/jface/text/templates/TemplateVariableType.d @ 138:b6bad70d540a

Regex instanceof changes
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 02:26:23 +0200
parents 51e6e63f930e
children 75302ef3f92f
comparison
equal deleted inserted replaced
137:25170b5a8951 138:b6bad70d540a
87 87
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 ( cast(TemplateVariableType)obj ) {
93 TemplateVariableType other= cast(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 }