From bc490612cf5c2592c9281bde9a97488e0486061a Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 5 May 2020 13:33:13 +0200 Subject: [PATCH] fixed equals --- .../sebserver/gui/service/session/ClientConnectionTable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java index 98ee362e..9c305b40 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/session/ClientConnectionTable.java @@ -554,7 +554,7 @@ public final class ClientConnectionTable { if (getClass() != obj.getClass()) return false; final UpdatableTableItem other = (UpdatableTableItem) obj; - if (!getOuterType().equals(other.getOuterType())) + if (getOuterType() != other.getOuterType()) return false; return compareTo(other) == 0; }