Changeset 238:380bad9f6852 for dwt/custom/SashFormData.d
- Timestamp:
- 05/04/08 18:42:55 (4 years ago)
- Files:
-
- dwt/custom/SashFormData.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/custom/SashFormData.d
r150 r238 13 13 module dwt.custom.SashFormData; 14 14 15 import dwt.dwthelper.utils; 16 15 17 static import tango.text.Util; 16 18 import tango.util.Convert; … … 20 22 long weight; 21 23 22 char[]getName () {23 char[]string = this.classinfo.name;24 String getName () { 25 String string = this.classinfo.name; 24 26 int index = tango.text.Util.locatePrior( string ,'.' ); 25 27 if (index is string.length ) return string; … … 33 35 * @return a string representation of the event 34 36 */ 35 public override char[]toString () {36 return getName()~" {weight="~to!( char[])(weight)~"}"; //$NON-NLS-2$37 public override String toString () { 38 return getName()~" {weight="~to!(String)(weight)~"}"; //$NON-NLS-2$ 37 39 } 38 40 }
