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:
Tim Allison 2017-03-21 00:13:11 +00:00
parent 26dddd5184
commit 2674dad889
2 changed files with 1 additions and 4 deletions

View File

@ -71,7 +71,7 @@ public abstract class XSSFBParser {
byte b2 = is.readByte();
b1 &= ~(1<<7); //unset highest bit
b2 &= ~(1<<7); //unset highest bit (if it exists?)
recordId = (128*(int)b2)+(int)b1;
recordId = ((int)b2 << 7)+(int)b1;
} else {
recordId = (int)b1;
}

View File

@ -41,9 +41,6 @@ import org.junit.Test;
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,
* which are streamed into POI opposed to having everything in memory