Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-314

Hidden fields can cause problems when code is updated

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: