db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3309) Minor cleanups in ClientPooledConnection40 and ClientPooledConnection
Date Tue, 05 Feb 2008 12:24:08 GMT

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

Kristian Waagan updated DERBY-3309:
-----------------------------------

    Attachment: derby-3309-4a-cpc_listeners_synch.diff

'derby-3309-4a-cpc_listeners_synch.diff' replaces a Vector with an ArrayList and fixes the
broken synchronization of the list of event listeners in ClientPooledConnection.
I have run derbyall and suites.All (Java 1.4.2 and Java SE 5.0) without errors.

I'm observing that in CPC a new event object is created for each listener, whereas in CPC40
the same object is reused for all listeners.

Patch ready for review.

> Minor cleanups in ClientPooledConnection40 and ClientPooledConnection
> ---------------------------------------------------------------------
>
>                 Key: DERBY-3309
>                 URL: https://issues.apache.org/jira/browse/DERBY-3309
>             Project: Derby
>          Issue Type: Sub-task
>          Components: JDBC, Network Client
>    Affects Versions: 10.2.2.0, 10.3.2.1, 10.4.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Trivial
>             Fix For: 10.4.0.0
>
>         Attachments: derby-3309-1a-unused_imports.diff, derby-3309-2a-remove_unused_constructor.diff,
derby-3309-3a-cpc_documentation_changes.diff, derby-3309-4a-cpc_listeners_synch.diff
>
>
> A few minor cleanups:
>  1) Remove unused constructor
>  2) Remove unused imports
>  3) Various documentation/formatting fixes
> Other minor fixes will be done if required.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message