From 8f1c7a950d41fb8484f9547b7f77f21c58ca855a Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Tue, 19 Nov 2019 19:37:48 -0500 Subject: [PATCH] spelling: connection --- src/main/java/net/schmizz/sshj/sftp/Response.java | 2 +- .../groovy/net/schmizz/sshj/sftp/ResponseStatusCodeSpec.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/schmizz/sshj/sftp/Response.java b/src/main/java/net/schmizz/sshj/sftp/Response.java index b6c2b1a57..044cc43f8 100644 --- a/src/main/java/net/schmizz/sshj/sftp/Response.java +++ b/src/main/java/net/schmizz/sshj/sftp/Response.java @@ -29,7 +29,7 @@ public enum StatusCode { FAILURE(4), BAD_MESSAGE(5), NO_CONNECTION(6), - CONNECITON_LOST(7), + CONNECTION_LOST(7), OP_UNSUPPORTED(8), INVALID_HANDLE(9), NO_SUCH_PATH(10), diff --git a/src/test/groovy/net/schmizz/sshj/sftp/ResponseStatusCodeSpec.groovy b/src/test/groovy/net/schmizz/sshj/sftp/ResponseStatusCodeSpec.groovy index 01e8cc90b..4ba2c7794 100644 --- a/src/test/groovy/net/schmizz/sshj/sftp/ResponseStatusCodeSpec.groovy +++ b/src/test/groovy/net/schmizz/sshj/sftp/ResponseStatusCodeSpec.groovy @@ -35,7 +35,7 @@ class ResponseStatusCodeSpec extends Specification { Response.StatusCode.FAILURE || 4 Response.StatusCode.BAD_MESSAGE || 5 Response.StatusCode.NO_CONNECTION || 6 - Response.StatusCode.CONNECITON_LOST || 7 + Response.StatusCode.CONNECTION_LOST || 7 Response.StatusCode.OP_UNSUPPORTED || 8 Response.StatusCode.INVALID_HANDLE || 9 Response.StatusCode.NO_SUCH_PATH || 10