char[] buf; synchronized (TemporaryBuffer.class) { buf = sTemp; sTemp = null; } if (buf == null || buf.length < len) buf = new char[ArrayUtils.idealCharArraySize(len)]; return buf;
if (temp.length > 1000) return; synchronized (TemporaryBuffer.class) { sTemp = temp; }