This is an automated email from the ASF dual-hosted git repository.
twolf pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
The following commit(s) were added to refs/heads/master by this push:
new de3f3b2dc Fix formatting in Nio2Session
de3f3b2dc is described below
commit de3f3b2dce16f1e03d30f66008150b8955e17388
Author: Thomas Wolf <[email protected]>
AuthorDate: Thu May 9 21:16:40 2024 +0200
Fix formatting in Nio2Session
---
.../src/main/java/org/apache/sshd/common/io/nio2/Nio2Session.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git
a/sshd-core/src/main/java/org/apache/sshd/common/io/nio2/Nio2Session.java
b/sshd-core/src/main/java/org/apache/sshd/common/io/nio2/Nio2Session.java
index f6f14ae95..66febdf13 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/io/nio2/Nio2Session.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/io/nio2/Nio2Session.java
@@ -557,8 +557,10 @@ public class Nio2Session extends AbstractCloseable
implements IoSession {
if (buffer.hasRemaining()) {
try {
if (log.isDebugEnabled()) {
- log.debug("handleCompletedWriteCycle({}) incomplete write
of writeLen={}. Written result={}, resume writing buffer.remaining()={} at
cycle={} after {} nanos",
- this, writeLen, result, buffer.remaining(),
writeCyclesCounter.get(), System.nanoTime() - lastWriteCycleStart.get());
+ log.debug(
+ "handleCompletedWriteCycle({}) incomplete write of
writeLen={}. Written result={}, resume writing buffer.remaining()={} at
cycle={} after {} nanos",
+ this, writeLen, result, buffer.remaining(),
writeCyclesCounter.get(),
+ System.nanoTime() - lastWriteCycleStart.get());
}
doWriteCycle(buffer, completionHandler);