This is an automated email from the ASF dual-hosted git repository.
tomaswolf 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 01174035a Fix typos in comments, Javadoc, and test assertions
01174035a is described below
commit 01174035a1fb428bdbca8d0c378fdc598a0c4135
Author: siddiqueirshad <[email protected]>
AuthorDate: Tue Nov 3 21:59:22 2026 +0530
Fix typos in comments, Javadoc, and test assertions
Signed-off-by: siddiqueirshad <[email protected]>
---
sshd-core/src/test/java/org/apache/sshd/WindowAdjustTest.java | 2 +-
.../java/org/apache/sshd/common/auth/PasswordAuthenticationTest.java | 2 +-
.../java/org/apache/sshd/common/forward/PortForwardingLoadTest.java | 2 +-
.../org/apache/sshd/scp/client/ScpRemote2RemoteTransferListener.java | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sshd-core/src/test/java/org/apache/sshd/WindowAdjustTest.java
b/sshd-core/src/test/java/org/apache/sshd/WindowAdjustTest.java
index 7c4a30269..c9dbfa4e6 100644
--- a/sshd-core/src/test/java/org/apache/sshd/WindowAdjustTest.java
+++ b/sshd-core/src/test/java/org/apache/sshd/WindowAdjustTest.java
@@ -278,7 +278,7 @@ public class WindowAdjustTest extends BaseTestSupport {
/**
* Wrapper for asyncIn stream that catches Pending exception and queues
the pending messages for later retry (send
- * after previous messages were fully transfered)
+ * after previous messages were fully transferred)
*/
private static class AsyncInPendingWrapper extends AbstractLoggingBean {
private IoOutputStream asyncIn;
diff --git
a/sshd-core/src/test/java/org/apache/sshd/common/auth/PasswordAuthenticationTest.java
b/sshd-core/src/test/java/org/apache/sshd/common/auth/PasswordAuthenticationTest.java
index e1984ce7d..4fcacc009 100644
---
a/sshd-core/src/test/java/org/apache/sshd/common/auth/PasswordAuthenticationTest.java
+++
b/sshd-core/src/test/java/org/apache/sshd/common/auth/PasswordAuthenticationTest.java
@@ -414,7 +414,7 @@ public class PasswordAuthenticationTest extends
AuthenticationTestSupport {
@Override
public void signalAuthenticationSuccess(ClientSession session,
String service, String password)
throws Exception {
- assertEquals(goodPassword, password, "Mismatched succesful
password");
+ assertEquals(goodPassword, password, "Mismatched successful
password");
}
@Override
diff --git
a/sshd-core/src/test/java/org/apache/sshd/common/forward/PortForwardingLoadTest.java
b/sshd-core/src/test/java/org/apache/sshd/common/forward/PortForwardingLoadTest.java
index 7b4c70ed3..a0c7d2229 100644
---
a/sshd-core/src/test/java/org/apache/sshd/common/forward/PortForwardingLoadTest.java
+++
b/sshd-core/src/test/java/org/apache/sshd/common/forward/PortForwardingLoadTest.java
@@ -353,7 +353,7 @@ public class PortForwardingLoadTest extends BaseTestSupport
{
session.disconnect();
}
- assertEquals(0, errors.get(), "Some errors occured");
+ assertEquals(0, errors.get(), "Some errors occurred");
}
private static void assertPayloadEquals(String message, byte[]
expectedBytes, byte[] actualBytes) {
diff --git
a/sshd-scp/src/main/java/org/apache/sshd/scp/client/ScpRemote2RemoteTransferListener.java
b/sshd-scp/src/main/java/org/apache/sshd/scp/client/ScpRemote2RemoteTransferListener.java
index 5aea4a4fd..aa74c6848 100644
---
a/sshd-scp/src/main/java/org/apache/sshd/scp/client/ScpRemote2RemoteTransferListener.java
+++
b/sshd-scp/src/main/java/org/apache/sshd/scp/client/ScpRemote2RemoteTransferListener.java
@@ -56,7 +56,7 @@ public interface ScpRemote2RemoteTransferListener {
* @param destination The destination path
* @param timestamp The {@link ScpTimestampCommandDetails timestamp} of
the file - may be {@code null}
* @param details The {@link ScpReceiveFileCommandDetails details} of
the attempted file transfer
- * @param xferSize Number of successfully transfered bytes - zero if
<tt>thrown</tt> not {@code null}
+ * @param xferSize Number of successfully transferred bytes - zero if
<tt>thrown</tt> not {@code null}
* @param thrown Error thrown during transfer attempt - {@code null}
if successful
* @throws IOException If failed to handle the callback
*/