commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DBCP-392) Remove Occurrences of Multiple Statements on One Line
Date Tue, 24 Feb 2015 03:23:14 GMT

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

Phil Steitz closed DBCP-392.
----------------------------

> 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.3.4#6332)

Mime
View raw message