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

SQLChar.copyState() doesn't copy localeFinder

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment