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

Remove Occurrences of Multiple Statements on One Line

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.3.1, 1.4.1, 1.5.1, 2.0
    • Labels:
      None

      Description

      The DelegatingConnection class has many methods that are one-liners, but it's actually multiple statements. When debugging, it can make it appear as if the code is being executed twice (it did to me) at first glance. If it's multiple statements, we should use multiple lines of code.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jwcarman James Carman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: