Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20710

Strings are compared with != in NettyServerBootstrapConfiguration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.6.0
    • camel-netty
    • None
    • Unknown

    Description

      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()

      Attachments

        Issue Links

          Activity

            People

              dkryukov Dmitrii Kriukov
              dkryukov Dmitrii Kriukov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: