This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository lima. See https://gitlab.nuiton.org/chorem/lima.git commit e099d71c2da0ed961a46ce9ed97008d7191ea4fe Author: dcosse <cosse@codelutin.com> Date: Sat Feb 20 17:39:23 2016 +0100 refs #1316 ajout de logs --- .../src/main/java/org/chorem/lima/ui/combobox/AccountComboBox.java | 7 +++++-- .../src/main/java/org/chorem/lima/ui/common/AbstractLimaTable.java | 4 ++++ .../org/chorem/lima/ui/financialtransaction/AccountColumn.java | 4 ++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/combobox/AccountComboBox.java b/lima-swing/src/main/java/org/chorem/lima/ui/combobox/AccountComboBox.java index 916e6c1..be46e16 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/combobox/AccountComboBox.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/combobox/AccountComboBox.java @@ -24,6 +24,8 @@ package org.chorem.lima.ui.combobox; import jaxx.runtime.JAXXContext; import jaxx.runtime.swing.editor.bean.BeanFilterableComboBox; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.chorem.lima.business.LimaServiceFactory; import org.chorem.lima.business.ServiceListener; import org.chorem.lima.business.api.AccountService; @@ -40,6 +42,8 @@ import java.util.List; */ public class AccountComboBox extends BeanFilterableComboBox<Account> implements ServiceListener { + private static final Log log = LogFactory.getLog(AccountComboBox.class); + protected AccountService accountService; protected boolean leafAccounts; @@ -55,8 +59,7 @@ public class AccountComboBox extends BeanFilterableComboBox<Account> implements private void initializeAccountComboBox() { leafAccounts = false; - accountService = - LimaServiceFactory.getService(AccountService.class); + accountService = LimaServiceFactory.getService(AccountService.class); LimaServiceFactory.addServiceListener(AccountService.class, this); LimaServiceFactory.addServiceListener(ImportService.class, this); init(DecoratorUtil.newMultiJXPathDecorator(Account.class, "${" + Account.PROPERTY_ACCOUNT_NUMBER + "}$s##${" + Account.PROPERTY_LABEL + "}$s", "##", " - "), getDataList()); diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/common/AbstractLimaTable.java b/lima-swing/src/main/java/org/chorem/lima/ui/common/AbstractLimaTable.java index 9a36e58..ad9a46b 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/common/AbstractLimaTable.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/common/AbstractLimaTable.java @@ -22,6 +22,8 @@ package org.chorem.lima.ui.common; * #L% */ +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.chorem.lima.entity.Account; import org.chorem.lima.entity.EntryBook; import org.chorem.lima.ui.celleditor.AccountTableCellEditor; @@ -46,6 +48,8 @@ import java.util.Date; */ public abstract class AbstractLimaTable<H> extends JXTable { + protected static final Log log = LogFactory.getLog(AbstractLimaTable.class); + private static final long serialVersionUID = -4195941654485008887L; protected H handler; diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/AccountColumn.java b/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/AccountColumn.java index 33e567a..0cca0cd 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/AccountColumn.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/AccountColumn.java @@ -23,6 +23,8 @@ package org.chorem.lima.ui.financialtransaction; */ import org.apache.commons.lang3.StringUtils; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.chorem.lima.entity.Account; import org.chorem.lima.entity.Entry; import org.chorem.lima.ui.celleditor.AccountTableCellEditor; @@ -36,6 +38,8 @@ import static org.nuiton.i18n.I18n.t; */ public class AccountColumn extends AbstractColumn<FinancialTransactionTableModel> { + protected static final Log log = LogFactory.getLog(AccountColumn.class); + public AccountColumn() { super(Account.class, t("lima.entry.account"), true); setCellEditor(new AccountTableCellEditor()); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.