We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fde3e6a commit c942672Copy full SHA for c942672
input-stream/src/main/java/software/amazon/s3/analyticsaccelerator/util/StreamUtils.java
@@ -43,6 +43,8 @@ public static byte[] toByteArray(ObjectContent objectContent) {
43
while ((numBytesRead = inStream.read(buffer, 0, buffer.length)) != -1) {
44
outStream.write(buffer, 0, numBytesRead);
45
}
46
+
47
+ inStream.close();
48
} catch (IOException e) {
49
throw new RuntimeException(e);
50
0 commit comments