public CharArrayWriter(int initialSize) {if (initialSize < 0) {throw new IllegalArgumentException("size < 0");}buf = new char[initialSize];lock = buf;}
public CharArrayWriter(int initialSize){if (initialSize < 0){throw new System.ArgumentException("size < 0");}buf = new char[initialSize];@lock = buf;}