This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository lima. See http://git.chorem.org/lima.git commit 2dc6345cdd1916ea9f90e358e407dd02efd60f41 Author: dcosse <cosse@codelutin.com> Date: Mon Sep 28 16:43:18 2015 +0200 refs #1242 Modification pour plus de lisibilité suite à revue de code Kevin --- .../lima/ui/Filter/AccountCondition/AccountConditionHandler.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/Filter/AccountCondition/AccountConditionHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/Filter/AccountCondition/AccountConditionHandler.java index e5ba896..0dd92ed 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/Filter/AccountCondition/AccountConditionHandler.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/Filter/AccountCondition/AccountConditionHandler.java @@ -80,7 +80,10 @@ public class AccountConditionHandler implements ConditionHandler { public void accountComboBoxChange(PropertyChangeEvent event) { if (event.getPropertyName().equals(AccountComboBox.PROPERTY_SELECTED_ITEM)) { - Account account = event.getNewValue() == null ? null : event.getNewValue() instanceof Account ? (Account) event.getNewValue() : null; + Account account = null; + if (event.getNewValue() != null && event.getNewValue() instanceof Account) { + account = (Account) event.getNewValue(); + } setAccount(account); } } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.