From 94cc2f2a6bfe4aa4a3a3d3c0eebcdfb4d0b4f90a Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 29 Feb 2012 11:11:13 -0500 Subject: [PATCH] IDEMPIERE-137 Enhancement of GL Reconciliation minor fixes - organize imports, create serialversionUID, drop unused variables --- .../src/org/compiere/process/FactReconcile.java | 14 +++++++------- .../org/compiere/process/FactReconciliation.java | 2 -- .../src/org/compiere/apps/form/VFactReconcile.java | 5 +++++ 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/process/FactReconcile.java b/org.adempiere.base/src/org/compiere/process/FactReconcile.java index 19fab8557f..3a73c7aa75 100644 --- a/org.adempiere.base/src/org/compiere/process/FactReconcile.java +++ b/org.adempiere.base/src/org/compiere/process/FactReconcile.java @@ -16,12 +16,14 @@ *****************************************************************************/ package org.compiere.process; -import java.math.*; -import java.sql.*; -import java.util.logging.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.logging.Level; -import org.compiere.model.*; -import org.compiere.util.*; +import org.compiere.model.MElementValue; +import org.compiere.model.MRule; +import org.compiere.util.DB; /** * Suspense account reconciliation report @@ -30,7 +32,6 @@ import org.compiere.util.*; public class FactReconcile extends SvrProcess { private MElementValue account; - private String type; private int ruleID; /** @@ -65,7 +66,6 @@ public class FactReconcile extends SvrProcess protected String doIt() throws Exception { - String result; log.info("Reconcile Account: " + account.getName()); String subselect = "null"; diff --git a/org.adempiere.base/src/org/compiere/process/FactReconciliation.java b/org.adempiere.base/src/org/compiere/process/FactReconciliation.java index 12d2a11b78..9471960791 100644 --- a/org.adempiere.base/src/org/compiere/process/FactReconciliation.java +++ b/org.adempiere.base/src/org/compiere/process/FactReconciliation.java @@ -27,8 +27,6 @@ public class FactReconciliation extends SvrProcess */ protected void prepare() { - StringBuffer sb = new StringBuffer ("AD_PInstance_ID=") - .append(getAD_PInstance_ID()); // Parameter ProcessInfoParameter[] para = getParameter(); for (int i = 0; i < para.length; i++) diff --git a/org.adempiere.ui.swing/src/org/compiere/apps/form/VFactReconcile.java b/org.adempiere.ui.swing/src/org/compiere/apps/form/VFactReconcile.java index e9e4c49b05..8fee030a0a 100644 --- a/org.adempiere.ui.swing/src/org/compiere/apps/form/VFactReconcile.java +++ b/org.adempiere.ui.swing/src/org/compiere/apps/form/VFactReconcile.java @@ -80,6 +80,11 @@ import org.compiere.util.Msg; public class VFactReconcile extends CPanel implements FormPanel, ActionListener, TableModelListener, ASyncProcess { + /** + * + */ + private static final long serialVersionUID = -4319867865736797328L; + /** * Initialize Panel * @param WindowNo window