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

Remove Occurrences of Multiple Statements on One Line

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.3.1, 1.4.1, 1.5.1, 2.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: