diff --git a/src/java/org/apache/poi/ddf/EscherPropertyFactory.java b/src/java/org/apache/poi/ddf/EscherPropertyFactory.java index 3e653f5b8d..efea004382 100644 --- a/src/java/org/apache/poi/ddf/EscherPropertyFactory.java +++ b/src/java/org/apache/poi/ddf/EscherPropertyFactory.java @@ -84,12 +84,12 @@ public final class EscherPropertyFactory { byte[] complexData = ((EscherComplexProperty)p).getComplexData(); int leftover = data.length-pos; - if(leftover < complexData.length){ - throw new IllegalStateException("Could not read complex escher property, lenght was " + complexData.length + ", but had only " + - leftover + " bytes left"); + if(leftover < complexData.length){ + throw new IllegalStateException("Could not read complex escher property, lenght was " + complexData.length + ", but had only " + + leftover + " bytes left"); } - System.arraycopy(data, pos, complexData, 0, complexData.length); + System.arraycopy(data, pos, complexData, 0, complexData.length); pos += complexData.length; } }