60881 -- strip out system.set props for local test.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1787891 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
26dddd5184
commit
2674dad889
@ -71,7 +71,7 @@ public abstract class XSSFBParser {
|
|||||||
byte b2 = is.readByte();
|
byte b2 = is.readByte();
|
||||||
b1 &= ~(1<<7); //unset highest bit
|
b1 &= ~(1<<7); //unset highest bit
|
||||||
b2 &= ~(1<<7); //unset highest bit (if it exists?)
|
b2 &= ~(1<<7); //unset highest bit (if it exists?)
|
||||||
recordId = (128*(int)b2)+(int)b1;
|
recordId = ((int)b2 << 7)+(int)b1;
|
||||||
} else {
|
} else {
|
||||||
recordId = (int)b1;
|
recordId = (int)b1;
|
||||||
}
|
}
|
||||||
|
@ -41,9 +41,6 @@ import org.junit.Test;
|
|||||||
|
|
||||||
public class TestSecureTempZip {
|
public class TestSecureTempZip {
|
||||||
|
|
||||||
static {
|
|
||||||
System.setProperty("POI.testdata.path", "C:/users/tallison/idea projects/poi-trunk/test-data");
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* Test case for #59841 - this is an example on how to use encrypted temp files,
|
* Test case for #59841 - this is an example on how to use encrypted temp files,
|
||||||
* which are streamed into POI opposed to having everything in memory
|
* which are streamed into POI opposed to having everything in memory
|
||||||
|
Loading…
Reference in New Issue
Block a user