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) {
|
public int fillFields(byte[] data, int offset, EscherRecordFactory recordFactory) {
|
||||||
int bytesRemaining = readHeader( data, offset );
|
int bytesRemaining = readHeader( data, offset );
|
||||||
/*
|
/*
|
||||||
* Have a check between avaliable bytes and bytesRemaining,
|
* Have a check between available bytes and bytesRemaining,
|
||||||
* take the avaliable length if the bytesRemaining out of range.
|
* take the available length if the bytesRemaining out of range.
|
||||||
*/
|
*/
|
||||||
int avaliable = data.length - (offset + 8);
|
int available = data.length - (offset + 8);
|
||||||
if (bytesRemaining > avaliable) {
|
if (bytesRemaining > available) {
|
||||||
bytesRemaining = avaliable;
|
bytesRemaining = available;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isContainerRecord()) {
|
if (isContainerRecord()) {
|
||||||
|
|
Loading…
Reference in New Issue