db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Matrigali (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4052) SQLChar.copyState() doesn't copy localeFinder
Date Fri, 04 Feb 2011 23:12:30 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mike Matrigali updated DERBY-4052:
----------------------------------

    Assignee: Mike Matrigali  (was: Yun Lee)

backporting to 10.6 and 10.5, temp assigning to myself while backporting.

> SQLChar.copyState() doesn't copy localeFinder
> ---------------------------------------------
>
>                 Key: DERBY-4052
>                 URL: https://issues.apache.org/jira/browse/DERBY-4052
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.5.1.1
>            Reporter: Knut Anders Hatlen
>            Assignee: Mike Matrigali
>            Priority: Minor
>             Fix For: 10.7.1.1
>
>         Attachments: derby-4052.patch, derby-4052.stat
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message