Adjust intendation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1678814 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eb58b83090
commit
b3a56bd752
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user