/** * Although this method is implemented by the base class, AND it should * never be called by Woodstox code, let's still implement it bit more * efficiently just in case */ public int read() throws IOException { if (mTmpBuf == null) { mTmpBuf = new char[1]; } if (read(mTmpBuf, 0, 1) < 1) { return -1; } return mTmpBuf[0]; }
/** * Although this method is implemented by the base class, AND it should * never be called by Woodstox code, let's still implement it bit more * efficiently just in case */ @Override public int read() throws IOException { if (mTmpBuf == null) { mTmpBuf = new char[1]; } if (read(mTmpBuf, 0, 1) < 1) { return -1; } return mTmpBuf[0]; }
/** * Although this method is implemented by the base class, AND it should * never be called by Woodstox code, let's still implement it bit more * efficiently just in case */ public int read() throws IOException { if (mTmpBuf == null) { mTmpBuf = new char[1]; } if (read(mTmpBuf, 0, 1) < 1) { return -1; } return mTmpBuf[0]; }
/** * Although this method is implemented by the base class, AND it should * never be called by Woodstox code, let's still implement it bit more * efficiently just in case */ public int read() throws IOException { if (mTmpBuf == null) { mTmpBuf = new char[1]; } if (read(mTmpBuf, 0, 1) < 1) { return -1; } return mTmpBuf[0]; }
/** * Although this method is implemented by the base class, AND it should * never be called by Woodstox code, let's still implement it bit more * efficiently just in case */ @Override public int read() throws IOException { if (mTmpBuf == null) { mTmpBuf = new char[1]; } if (read(mTmpBuf, 0, 1) < 1) { return -1; } return mTmpBuf[0]; }
/** * Although this method is implemented by the base class, AND it should * never be called by Woodstox code, let's still implement it bit more * efficiently just in case */ @Override public int read() throws IOException { if (mTmpBuf == null) { mTmpBuf = new char[1]; } if (read(mTmpBuf, 0, 1) < 1) { return -1; } return mTmpBuf[0]; }
/** * Although this method is implemented by the base class, AND it should * never be called by Woodstox code, let's still implement it bit more * efficiently just in case */ public int read() throws IOException { if (mTmpBuf == null) { mTmpBuf = new char[1]; } if (read(mTmpBuf, 0, 1) < 1) { return -1; } return mTmpBuf[0]; }
/** * Although this method is implemented by the base class, AND it should * never be called by Woodstox code, let's still implement it bit more * efficiently just in case */ public int read() throws IOException { if (mTmpBuf == null) { mTmpBuf = new char[1]; } if (read(mTmpBuf, 0, 1) < 1) { return -1; } return mTmpBuf[0]; }