// The cached buffer is too small, we need a larger one.
else if (fTempByteBuffer.length == fBufferSize) {
fSmallByteBufferPool.returnBuffer(fTempByteBuffer);
fTempByteBuffer = fLargeByteBufferPool.getBuffer();
}
return new UTF16Reader(stream,
fTempByteBuffer,
isBigEndian,
fErrorReporter.getMessageFormatter(XMLMessageFormatter.XML_DOMAIN),
fErrorReporter.getLocale());
} // createUTF16Reader(InputStream):Reader