Skip to content

Commit 0251fd4

Browse files
committed
Fix SAT
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
1 parent bc6a12e commit 0251fd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bundles/org.openhab.binding.avmfritz/src/main/java/org/openhab/binding/avmfritz/internal/hardware/FritzAhaWebInterface.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public void onComplete(@NonNullByDefault({}) Result result) {
211211
private void completeAuthentication(CompletableFuture<Boolean> currentAuthentication, @Nullable String newSid,
212212
ThingStatusDetail statusDetail, @Nullable String description) {
213213
synchronized (authenticationLock) {
214-
if (currentAuthentication != authentication || disposed) {
214+
if (!currentAuthentication.equals(authentication) || disposed) {
215215
currentAuthentication.complete(false);
216216
return;
217217
}

0 commit comments

Comments
 (0)