You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2020/10/06 08:17:19 UTC
[httpcomponents-client] branch master updated: Fix typo in enum
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git
The following commit(s) were added to refs/heads/master by this push:
new f9b46db Fix typo in enum
f9b46db is described below
commit f9b46db6e0d7bbd753bce13e90f70ecf12713e45
Author: Varun Sivapalan <54...@users.noreply.github.com>
AuthorDate: Tue Oct 6 10:09:44 2020 +0200
Fix typo in enum
---
.../main/java/org/apache/hc/client5/http/impl/auth/NTLMScheme.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/NTLMScheme.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/NTLMScheme.java
index 53c4a7b..d00644e 100644
--- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/NTLMScheme.java
+++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/auth/NTLMScheme.java
@@ -58,7 +58,7 @@ public final class NTLMScheme implements AuthScheme {
UNINITIATED,
CHALLENGE_RECEIVED,
MSG_TYPE1_GENERATED,
- MSG_TYPE2_RECEVIED,
+ MSG_TYPE2_RECEIVED,
MSG_TYPE3_GENERATED,
FAILED,
}
@@ -116,7 +116,7 @@ public final class NTLMScheme implements AuthScheme {
this.state = State.FAILED;
throw new MalformedChallengeException("Out of sequence NTLM response message");
} else if (this.state == State.MSG_TYPE1_GENERATED) {
- this.state = State.MSG_TYPE2_RECEVIED;
+ this.state = State.MSG_TYPE2_RECEIVED;
}
}
}
@@ -163,7 +163,7 @@ public final class NTLMScheme implements AuthScheme {
this.credentials.getNetbiosDomain(),
this.credentials.getWorkstation());
this.state = State.MSG_TYPE1_GENERATED;
- } else if (this.state == State.MSG_TYPE2_RECEVIED) {
+ } else if (this.state == State.MSG_TYPE2_RECEIVED) {
response = this.engine.generateType3Msg(
this.credentials.getUserName(),
this.credentials.getPassword(),