svn commit: r1839291 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/TorqueConnectionImpl.java

classic Classic list List threaded Threaded
1 message Options
tv
Reply | Threaded
Open this post in threaded view
|

svn commit: r1839291 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/util/TorqueConnectionImpl.java

tv
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: [hidden email]
For additional commands, e-mail: [hidden email]