db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-5076) [patch] move instanceof check up above where casts occur
Date Tue, 01 Mar 2011 06:09:36 GMT
[patch] move instanceof check up above where casts occur
--------------------------------------------------------

                 Key: DERBY-5076
                 URL: https://issues.apache.org/jira/browse/DERBY-5076
             Project: Derby
          Issue Type: Improvement
          Components: Network Client
    Affects Versions: 10.7.1.1
            Reporter: Dave Brosius
            Priority: Trivial
             Fix For: 10.8.0.0
         Attachments: move_instanceof_check.diff

code does an instanceof check on Diagnosable much after multiple casts to Diagnosable occurs
above it.

Move the instanceof check up before the first cast, so that it does some good.

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

        

Mime
View raw message