commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (DBCP-314) Hidden fields can cause problems when code is updated
Date Tue, 05 Jan 2010 01:22:54 GMT
Hidden fields can cause problems when code is updated
-----------------------------------------------------

                 Key: DBCP-314
                 URL: https://issues.apache.org/jira/browse/DBCP-314
             Project: Commons Dbcp
          Issue Type: Bug
            Reporter: Sebb
            Priority: Minor


There are quite a few instances of fields that are hidden (masked) by local variables or parameters.

This is a potential source of bugs, as the hidden field can be accidentally revealed and used
when code is updated.

The classes that currently contain such code are:

LocalXAConnectionFactory - 6 instances
InstanceKeyDataSource
DriverAdapterCPDS
PoolingDataSource
BasicDataSource - 2 instances
AbandonedTrace - 2 instances
BasicDataSource

-- 
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