From 483716c3ab2a565fb0843762d87d2bf51875a4e4 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 11 Dec 2013 08:51:03 -0500 Subject: [PATCH] minor - improve readability of ExpenseTypesFromAccounts --- .../src/org/adempiere/process/ExpenseTypesFromAccounts.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/org.adempiere.base.process/src/org/adempiere/process/ExpenseTypesFromAccounts.java b/org.adempiere.base.process/src/org/adempiere/process/ExpenseTypesFromAccounts.java index 4cc0c9f000..2b7b441850 100644 --- a/org.adempiere.base.process/src/org/adempiere/process/ExpenseTypesFromAccounts.java +++ b/org.adempiere.base.process/src/org/adempiere/process/ExpenseTypesFromAccounts.java @@ -81,8 +81,9 @@ public class ExpenseTypesFromAccounts extends SvrProcess { ProcessInfoParameter[] para = getParameter(); for (int i = 0; i < para.length; i++) { String name = para[i].getParameterName(); - if (para[i].getParameter() == null); - else if (name.equals("M_Product_Category_ID")) { + if (para[i].getParameter() == null) { + // nothing + } else if (name.equals("M_Product_Category_ID")) { m_productCategoryId = para[i].getParameterAsInt(); } else if (name.equals("C_AcctSchema_ID")) { m_acctSchemaId = para[i].getParameterAsInt();