Show
Ignore:
Timestamp:
05/04/08 18:12:38 (7 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted the char[] to String and use the an alias.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/custom/SashFormData.d

    r96 r212  
    1515static import tango.text.Util; 
    1616import tango.util.Convert; 
     17import dwt.dwthelper.utils; 
    1718 
    1819class SashFormData { 
     
    2021    long weight; 
    2122 
    22 char[] getName () { 
    23     char[] string = this.classinfo.name; 
     23String getName () { 
     24    String string = this.classinfo.name; 
    2425    int index = tango.text.Util.locatePrior( string ,'.' ); 
    2526    if (index is string.length ) return string; 
     
    3334 * @return a string representation of the event 
    3435 */ 
    35 public override char[] toString () { 
    36     return getName()~" {weight="~to!(char[])(weight)~"}"; //$NON-NLS-2$ 
     36public override String toString () { 
     37    return getName()~" {weight="~to!(String)(weight)~"}"; //$NON-NLS-2$ 
    3738} 
    3839}