This is an automated email from the git hooks/post-receive script. New commit to branch feature/1169-Saisie_du_jour_uniquement in repository lima. See http://git.chorem.org/lima.git commit 30e57ca67137e166835aea5e961a0ae5ba736c36 Author: dcosse <japbiw74> Date: Thu Feb 19 17:18:41 2015 +0100 fixes #1169 retrait d'une classe innutile --- .../ui/celleditor/DayLimaTableCellRenderer.java | 37 ---------------------- .../FinancialTransactionDefaultTable.java | 8 ++--- 2 files changed, 3 insertions(+), 42 deletions(-) diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/DayLimaTableCellRenderer.java b/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/DayLimaTableCellRenderer.java deleted file mode 100644 index 62da36f..0000000 --- a/lima-swing/src/main/java/org/chorem/lima/ui/celleditor/DayLimaTableCellRenderer.java +++ /dev/null @@ -1,37 +0,0 @@ -package org.chorem.lima.ui.celleditor; - -/* - * #%L - * Lima :: Swing - * %% - * Copyright (C) 2008 - 2013 CodeLutin - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. - * #L% - */ - -import java.text.DateFormat; -import java.util.Date; - -/** - * @author Sylvain Bavencoff <bavencoff@codelutin.com> - */ -public class DayLimaTableCellRenderer extends DefaultLimaTableCellRenderer { - - @Override - protected void setValue(Object value) { - super.setValue(value); - } -} diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionDefaultTable.java b/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionDefaultTable.java index 1177c8d..a871e51 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionDefaultTable.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/financialtransaction/FinancialTransactionDefaultTable.java @@ -29,7 +29,6 @@ import org.chorem.lima.entity.EntryBook; import org.chorem.lima.ui.celleditor.AccountTableCellRenderer; import org.chorem.lima.ui.celleditor.BigDecimalTableCellRenderer; import org.chorem.lima.ui.celleditor.DateLimaTableCellRenderer; -import org.chorem.lima.ui.celleditor.DayLimaTableCellRenderer; import org.chorem.lima.ui.celleditor.DefaultLimaTableCellRenderer; import org.chorem.lima.ui.celleditor.EntryBookTableCellRender; import org.chorem.lima.ui.celleditor.TableCellErrorDetector; @@ -63,13 +62,12 @@ public class FinancialTransactionDefaultTable<H> extends AbstractLimaTable<H> { renderer.setMandatory(true); setDefaultRenderer(Object.class, renderer); - renderer = new DateLimaTableCellRenderer(); renderer.setMandatory(true); - setDefaultRenderer(Date.class, renderer); + setDefaultRenderer(Integer.class, renderer); - renderer = new DayLimaTableCellRenderer(); + renderer = new DateLimaTableCellRenderer(); renderer.setMandatory(true); - setDefaultRenderer(Integer.class, renderer); + setDefaultRenderer(Date.class, renderer); renderer = new BigDecimalTableCellRenderer(); renderer.setErrorDetector(errorDetector); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.