You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Thomas (JIRA)" <ji...@apache.org> on 2013/12/03 11:20:39 UTC

[jira] [Resolved] (DBCP-392) Remove Occurrences of Multiple Statements on One Line

     [ https://issues.apache.org/jira/browse/DBCP-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Thomas resolved DBCP-392.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0
                   1.5.1
                   1.4.1
                   1.3.1

> Remove Occurrences of Multiple Statements on One Line
> -----------------------------------------------------
>
>                 Key: DBCP-392
>                 URL: https://issues.apache.org/jira/browse/DBCP-392
>             Project: Commons Dbcp
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: James Carman
>            Priority: Minor
>             Fix For: 1.3.1, 1.4.1, 1.5.1, 2.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)