Knut Anders Hatlen wrote:
Kristian Waagan <[EMAIL PROTECTED]> writes:

Hello,

While fiddling around in the source code, I came across the following
piece of code in iapi.types.SQLChar:

        protected void copyState(SQLChar other) {

                this.value = other.value;
                this.rawData = other.rawData;
                this.rawLength = other.rawLength;
                this.cKey = other.cKey;
                this.stream = other.stream;
                this.intArray = intArray;
                this.intLength = intLength;
                this.localeFinder = localeFinder;
        }


Note that the three last assignments are assignments to self.
Is this a bug, or is it intentional?

I think those fields (intArray, intLength, localFinder) are dead code, see DERBY-2720.
http://issues.apache.org/jira/browse/DERBY-2720

Dan.

Reply via email to