Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
levy5307 committed Nov 6, 2020
1 parent 28b6c47 commit 4a2a4b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void onRecvMechanisms(negotiation_response response) throws Exception {

String[] matchMechanisms = new String[1];
matchMechanisms[0] = getMatchMechanism(new String(response.msg.data, Charset.defaultCharset()));
if (matchMechanisms[0] == "") {
if (matchMechanisms[0].equals("")) {
throw new Exception("No matching mechanism was found");
}

Expand Down

0 comments on commit 4a2a4b9

Please sign in to comment.