Changeset 9999


Ignore:
Timestamp:
09/22/05 00:25:33 (16 years ago)
Author:
piso
Message:

StringBuffer? => FastStringBuffer?

File:
1 edited

Legend:

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

    r9792 r9999  
    33 *
    44 * Copyright (C) 2003-2005 Peter Graves
    5  * $Id: StringFunctions.java,v 1.38 2005-08-04 18:11:23 piso Exp $
     5 * $Id: StringFunctions.java,v 1.39 2005-09-22 00:25:33 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    577577            if (start > end)
    578578                return signal(new TypeError("Start (" + start + ") is greater than end (" + end + ")."));
    579             StringBuffer sb = new StringBuffer(length);
     579            FastStringBuffer sb = new FastStringBuffer(length);
    580580            char[] array = s.getStringChars();
    581581            int i;
     
    612612            if (start > end)
    613613                return signal(new TypeError("Start (" + start + ") is greater than end (" + end + ")."));
    614             StringBuffer sb = new StringBuffer(length);
     614            FastStringBuffer sb = new FastStringBuffer(length);
    615615            char[] array = s.getStringChars();
    616616            int i;
     
    647647            if (start > end)
    648648                return signal(new TypeError("Start (" + start + ") is greater than end (" + end + ")."));
    649             StringBuffer sb = new StringBuffer(length);
     649            FastStringBuffer sb = new FastStringBuffer(length);
    650650            char[] array = s.getStringChars();
    651651            boolean lastCharWasAlphanumeric = false;
     
    823823            }
    824824            if (n < 0 || n >= ARRAY_DIMENSION_MAX) {
    825                 StringBuffer sb = new StringBuffer();
     825                FastStringBuffer sb = new FastStringBuffer();
    826826                sb.append("The size specified for this string (");
    827827                sb.append(n);
Note: See TracChangeset for help on using the changeset viewer.