You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tv...@apache.org on 2018/08/27 10:00:14 UTC
svn commit: r1839291 -
/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/TorqueConnectionImpl.java
Author: tv
Date: Mon Aug 27 10:00:13 2018
New Revision: 1839291
URL: http://svn.apache.org/viewvc?rev=1839291&view=rev
Log:
Checkstyle is unhappy
Modified:
db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/TorqueConnectionImpl.java
Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/TorqueConnectionImpl.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/TorqueConnectionImpl.java?rev=1839291&r1=1839290&r2=1839291&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/TorqueConnectionImpl.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/TorqueConnectionImpl.java Mon Aug 27 10:00:13 2018
@@ -189,9 +189,8 @@ public class TorqueConnectionImpl implem
{
try
{
- if (this.committed == false &&
- this.rolledBack == false &&
- connection.getAutoCommit() == false)
+ if (!this.committed && !this.rolledBack
+ && !connection.getAutoCommit())
{
// calls close on the connection
Transaction.safeRollback(connection);
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org