Changeset 5948


Ignore:
Timestamp:
02/25/04 01:28:34 (17 years ago)
Author:
piso
Message:

readLine(): use new SimpleString?(StringBuffer?) constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/Stream.java

    r5946 r5948  
    33 *
    44 * Copyright (C) 2003-2004 Peter Graves
    5  * $Id: Stream.java,v 1.27 2004-02-25 01:23:12 piso Exp $
     5 * $Id: Stream.java,v 1.28 2004-02-25 01:28:34 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    10211021                    return thread.setValues(eofValue, T);
    10221022                }
    1023                 return thread.setValues(new SimpleString(sb.toString()), T);
     1023                return thread.setValues(new SimpleString(sb), T);
    10241024            }
    10251025            if (n == '\n')
    1026                 return thread.setValues(new SimpleString(sb.toString()), NIL);
     1026                return thread.setValues(new SimpleString(sb), NIL);
    10271027            else
    10281028                sb.append((char)n);
Note: See TracChangeset for help on using the changeset viewer.