This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 997cf16  Improved:  Fix some bugs Spotbugs reports (OFBIZ-12386)
997cf16 is described below

commit 997cf16ed317a92dea18e2b661a366c72f4bf5ae
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Fri Nov 19 17:51:30 2021 +0100

    Improved:  Fix some bugs Spotbugs reports (OFBIZ-12386)
    
    Useless self assignment
---
 .../entity/src/main/java/org/apache/ofbiz/entity/jdbc/SQLProcessor.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/framework/entity/src/main/java/org/apache/ofbiz/entity/jdbc/SQLProcessor.java 
b/framework/entity/src/main/java/org/apache/ofbiz/entity/jdbc/SQLProcessor.java
index 2ca159a..eebc1a7 100644
--- 
a/framework/entity/src/main/java/org/apache/ofbiz/entity/jdbc/SQLProcessor.java
+++ 
b/framework/entity/src/main/java/org/apache/ofbiz/entity/jdbc/SQLProcessor.java
@@ -373,7 +373,6 @@ public class SQLProcessor implements AutoCloseable {
         }
 
         try {
-            sql = sql;
             ind = 1;
             if (specifyTypeAndConcur) {
                 ps = connection.prepareStatement(sql, resultSetType, 
resultSetConcurrency);

Reply via email to