You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2011/03/01 07:09:36 UTC

[jira] Updated: (DERBY-5076) [patch] move instanceof check up above where casts occur

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

Dave Brosius updated DERBY-5076:
--------------------------------

    Attachment: move_instanceof_check.diff

> [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
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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