diff options
author | PJ Fanning <fanningpj@apache.org> | 2017-07-09 21:34:53 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2017-07-09 21:34:53 +0000 |
commit | 6a4ffa5d6d7c330f87c5fe09affe58d9551191e7 (patch) | |
tree | 4dd92601c594192ac8074a4aedace1fafad706d4 | |
parent | 933f9c1201d54f9270aedc22847aec1b04a69ea5 (diff) | |
download | poi-6a4ffa5d6d7c330f87c5fe09affe58d9551191e7.tar.gz poi-6a4ffa5d6d7c330f87c5fe09affe58d9551191e7.zip |
fix spelling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801393 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/poi/ddf/UnknownEscherRecord.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/java/org/apache/poi/ddf/UnknownEscherRecord.java b/src/java/org/apache/poi/ddf/UnknownEscherRecord.java index f70e5de4dc..d49176d2bd 100644 --- a/src/java/org/apache/poi/ddf/UnknownEscherRecord.java +++ b/src/java/org/apache/poi/ddf/UnknownEscherRecord.java @@ -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()) { |