comparison dwtx/jface/internal/text/revisions/Hunk.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
85 */ 85 */
86 public bool equals(Object obj) { 86 public bool equals(Object obj) {
87 if (obj is this) 87 if (obj is this)
88 return true; 88 return true;
89 if (obj instanceof Hunk) { 89 if (obj instanceof Hunk) {
90 Hunk other= (Hunk) obj; 90 Hunk other= cast(Hunk) obj;
91 return other.line is this.line && other.delta is this.delta && other.changed is this.changed; 91 return other.line is this.line && other.delta is this.delta && other.changed is this.changed;
92 } 92 }
93 return false; 93 return false;
94 } 94 }
95 } 95 }