Mercurial > projects > dwt-addons
comparison dwtx/jface/text/DocumentRewriteSession.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | 3678e4f1a766 |
children |
comparison
equal
deleted
inserted
replaced
161:f8d52b926852 | 162:1a5b8f8129df |
---|---|
172 /** | 172 /** |
173 * Prohibit package external object creation. | 173 * Prohibit package external object creation. |
174 * | 174 * |
175 * @param sessionType the type of this session | 175 * @param sessionType the type of this session |
176 */ | 176 */ |
177 protected this(DocumentRewriteSessionType sessionType) { | 177 /+protected+/ this(DocumentRewriteSessionType sessionType) { |
178 fSessionType= sessionType; | 178 fSessionType= sessionType; |
179 } | 179 } |
180 | 180 |
181 /** | 181 /** |
182 * Returns the type of this session. | 182 * Returns the type of this session. |
189 | 189 |
190 /* | 190 /* |
191 * @see java.lang.Object#toString() | 191 * @see java.lang.Object#toString() |
192 */ | 192 */ |
193 public override String toString() { | 193 public override String toString() { |
194 return (new StringBuffer()).append(toHash()).toString(); | 194 static assert( hash_t.sizeof is 4 ); |
195 return (new StringBuffer()).append(Integer.toString(toHash())).toString(); | |
195 } | 196 } |
196 } | 197 } |