Skip to content

Commit

Permalink
CAMEL-20710: Implemented Objects.equals() for comparison of strings (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dk2k authored Apr 24, 2024
1 parent 5438fea commit 8b2b4fe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import java.io.File;
import java.util.Map;
import java.util.Objects;

import io.netty.channel.EventLoopGroup;
import io.netty.channel.group.ChannelGroup;
Expand Down Expand Up @@ -665,7 +666,7 @@ public boolean compatible(NettyServerBootstrapConfiguration other) {
isCompatible = false;
} else if (reconnectInterval != other.reconnectInterval) {
isCompatible = false;
} else if (unixDomainSocketPath != other.unixDomainSocketPath) {
} else if (!Objects.equals(unixDomainSocketPath, other.unixDomainSocketPath)) {
isCompatible = false;
}

Expand Down

0 comments on commit 8b2b4fe

Please sign in to comment.