Closed dependabot[bot] closed 2 months ago
https://github.com/mwiede/jsch/pull/532#issuecomment-2031664630:
diff --git a/src/test/java/com/jcraft/jsch/AbstractBufferMargin.java b/src/test/java/com/jcraft/jsch/AbstractBufferMargin.java
index 8b152b8..3d85fa5 100644
--- a/src/test/java/com/jcraft/jsch/AbstractBufferMargin.java
+++ b/src/test/java/com/jcraft/jsch/AbstractBufferMargin.java
@@ -211,7 +211,9 @@ public abstract class AbstractBufferMargin {
byte[] buf = new byte[17];
is.read(buf, 0, 17);
sendAck(os);
- Files.copy(new BoundedInputStream(is, 100L * 1024L), out);
+ Files.copy(
+ BoundedInputStream.builder().setMaxCount(100L * 1024L).setInputStream(is).get(),
+ out);
checkAck(is);
sendAck(os);
}
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Bumps commons-io:commons-io from 2.15.1 to 2.16.1.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show