You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dmitrii Kriukov (Jira)" <ji...@apache.org> on 2024/04/23 18:15:00 UTC
[jira] [Created] (CAMEL-20710) Strings are compared with != in NettyServerBootstrapConfiguration
Dmitrii Kriukov created CAMEL-20710:
---------------------------------------
Summary: Strings are compared with != in NettyServerBootstrapConfiguration
Key: CAMEL-20710
URL: https://issues.apache.org/jira/browse/CAMEL-20710
Project: Camel
Issue Type: Bug
Components: camel-netty
Reporter: Dmitrii Kriukov
Assignee: Dmitrii Kriukov
Line 668:
{color:#172b4d}} else if (unixDomainSocketPath != other.unixDomainSocketPath) {
The reason for that can be that the both strings are interned - in that case we need a comment.
The safe option is to use equals()
{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)