[
https://issues.apache.org/jira/browse/DERBY-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032197#comment-13032197
]
Dag H. Wanvik commented on DERBY-5224:
--------------------------------------
I checked again, and I see that the pattern I referred to isn't always used at
all: For example in SelectNode, ca 30% of node creations do *not* use the
pattern. So, I'm ok with the change.
> [patch] reduce cohesion by removing overzealous casting
> -------------------------------------------------------
>
> Key: DERBY-5224
> URL: https://issues.apache.org/jira/browse/DERBY-5224
> Project: Derby
> Issue Type: Improvement
> Reporter: Dave Brosius
> Priority: Trivial
> Attachments: reduce_cohesion.diff
>
>
> various spots casts assignments to a type more restrictive than needed,
> increasing cohesion. Patch reduces the casting to the required types.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira