Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4052

SQLChar.copyState() doesn't copy localeFinder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.5.1.1
    • 10.5.3.2, 10.6.2.2, 10.7.1.1
    • SQL
    • None
    • Low
    • Known fix, Newcomer

    Description

      The last line of SQLChar.copyState() looks incorrect.

      this.localeFinder = localeFinder;

      This line doesn't do anything, since the left side and the right side of the assignment are identical.

      It might be intentional, but in that case there should be a comment explaining why. Looking at the rest of the method, it looks like the intention is that the right side of the assignment should be other.localeFinder.

      Attachments

        1. derby-4052.stat
          0.1 kB
          Yun Lee
        2. derby-4052.patch
          0.5 kB
          Yun Lee

        Issue Links

          Activity

            People

              yunlee Yun Lee
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: