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

Hidden fields can cause problems when code is updated

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment