mirror of https://github.com/apache/poi.git
refactor IOUtils.toByteArray
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898292 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac56bc174e
commit
dea7c951bb
|
@ -242,7 +242,7 @@ public class TimeStampSimpleHttpClient implements TimeStampHttpClient {
|
|||
}
|
||||
|
||||
try (InputStream is = huc.getInputStream()) {
|
||||
responseBytes = IOUtils.toByteArray(is, Integer.MIN_VALUE, getMaxTimestampResponseSize());
|
||||
responseBytes = IOUtils.toByteArrayWithMaxLength(is, getMaxTimestampResponseSize());
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -296,7 +296,6 @@ public final class TestPOIXMLDocument {
|
|||
}
|
||||
}
|
||||
|
||||
@Disabled("needs investigation")
|
||||
@Test
|
||||
void testOSGIClassLoading() throws IOException {
|
||||
byte[] data;
|
||||
|
|
Loading…
Reference in New Issue