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 ca47bb6e250e789e665dc47bf5e3c93829e60867 Author: Tony CHEMIT <chemit@codelutin.com> Date: Fri Feb 27 11:07:25 2015 +0100 remove unecessary mouse listener + logger --- .../org/chorem/lima/ui/common/AbstractLimaTable.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) 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 5d70468..374a558 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,8 +22,6 @@ 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; @@ -40,9 +38,7 @@ import org.jdesktop.swingx.JXTable; import javax.swing.table.TableCellEditor; import javax.swing.table.TableModel; -import java.awt.*; -import java.awt.event.MouseAdapter; -import java.awt.event.MouseEvent; +import java.awt.Color; import java.math.BigDecimal; import java.util.Date; @@ -51,7 +47,6 @@ import java.util.Date; */ public abstract class AbstractLimaTable<H> extends JXTable { - private static final Log log = LogFactory.getLog(AbstractLimaTable.class); private static final long serialVersionUID = -4195941654485008887L; protected H handler; @@ -65,8 +60,6 @@ public abstract class AbstractLimaTable<H> extends JXTable { initNavigation(); - addMouseListener(new MyMouseAdapter()); - // renderer setDefaultRenderer(Object.class, new DefaultLimaTableCellRenderer()); setDefaultRenderer(Date.class, new DateLimaTableCellRenderer()); @@ -111,13 +104,4 @@ public abstract class AbstractLimaTable<H> extends JXTable { } } - private class MyMouseAdapter extends MouseAdapter { - - @Override - public void mousePressed(MouseEvent e) { - if (rowAtPoint(e.getPoint()) == -1) { - clearSelection(); - } - } - } } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.