Show
Ignore:
Timestamp:
05/04/08 18:12:38 (8 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/internal/image/PngChunk.d

    r80 r212  
    2626import tango.text.convert.Format; 
    2727import dwt.dwthelper.System; 
     28import dwt.dwthelper.utils; 
    2829 
    2930class PngChunk { 
     
    375376 * data to the toString() call. 
    376377 */ 
    377 char[] contributeToString() { 
     378String contributeToString() { 
    378379    return ""; 
    379380} 
     
    385386 * @return a string representation of the event 
    386387 */ 
    387 override public char[] toString() { 
    388     char[] buffer = Format( "{\n\tLength: {}\n\tType: {}{}\n\tCRC: {:X}\n}", 
     388override public String toString() { 
     389    String buffer = Format( "{\n\tLength: {}\n\tType: {}{}\n\tCRC: {:X}\n}", 
    389390        getLength(), 
    390         cast(char[]) getTypeBytes(), 
     391        cast(String) getTypeBytes(), 
    391392        contributeToString(), 
    392393        getCRC());