Show
Ignore:
Timestamp:
05/04/08 18:42:55 (4 years ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted char[] to String

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/DWT.d

    r200 r238  
    34233423 * @see DWT 
    34243424 */ 
    3425 static char[] findErrorText (int code) { 
     3425static String findErrorText (int code) { 
    34263426    switch (code) { 
    34273427        case ERROR_UNSPECIFIED:            return "Unspecified error"; //$NON-NLS-1$ 
     
    34803480 * </ul> 
    34813481 */ 
    3482 public static char[] getMessage(char[] key) { 
     3482public static String getMessage(String key) { 
    34833483    // PORTING_FIXME: Implement 
    34843484    return "msg not found"; 
     
    34923492 * @return the DWT platform name 
    34933493 */ 
    3494 public static char[] getPlatform () { 
     3494public static String getPlatform () { 
    34953495    return Platform.PLATFORM; 
    34963496} 
     
    35113511 * @param code the DWT error code 
    35123512 */ 
    3513 public static void error (char[] file, long line, int code) { 
     3513public static void error (String file, long line, int code) { 
    35143514    error (code, null); 
    35153515} 
     
    35753575 * @since 3.0 
    35763576 */ 
    3577 public static void error (int code, Exception throwable, char[] detail) { 
     3577public static void error (int code, Exception throwable, String detail) { 
    35783578 
    35793579    /* 
     
    35963596    } 
    35973597 
    3598     char[] message = findErrorText (code); 
     3598    String message = findErrorText (code); 
    35993599    if (detail != null) message ~= detail; 
    36003600    switch (code) {