mirror of https://github.com/apache/poi.git
fix spelling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801393 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
933f9c1201
commit
6a4ffa5d6d
|
@ -42,12 +42,12 @@ public final class UnknownEscherRecord extends EscherRecord implements Cloneable
|
|||
public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) {
|
||||
int bytesRemaining = readHeader( data, offset );
|
||||
/*
|
||||
* Have a check between avaliable bytes and bytesRemaining,
|
||||
* take the avaliable length if the bytesRemaining out of range.
|
||||
* Have a check between available bytes and bytesRemaining,
|
||||
* take the available length if the bytesRemaining out of range.
|
||||
*/
|
||||
int avaliable = data.length - (offset + 8);
|
||||
if (bytesRemaining > avaliable) {
|
||||
bytesRemaining = avaliable;
|
||||
int available = data.length - (offset + 8);
|
||||
if (bytesRemaining > available) {
|
||||
bytesRemaining = available;
|
||||
}
|
||||
|
||||
if (isContainerRecord()) {
|
||||
|
|
Loading…
Reference in New Issue