From: Roland Haeder Date: Tue, 29 Sep 2015 13:33:24 +0000 (+0200) Subject: updated jars + removed logger X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=92826b3c770f36756ae4a83e0514f69985d151ac;p=jcore-swing.git updated jars + removed logger Signed-off-by:Roland Häder --- diff --git a/lib/jcore.jar b/lib/jcore.jar index bff5c73..2179b37 100644 Binary files a/lib/jcore.jar and b/lib/jcore.jar differ diff --git a/src/org/mxchange/jcoreswing/model/BaseModel.java b/src/org/mxchange/jcoreswing/model/BaseModel.java index 14e3d51..abca85c 100644 --- a/src/org/mxchange/jcoreswing/model/BaseModel.java +++ b/src/org/mxchange/jcoreswing/model/BaseModel.java @@ -16,7 +16,6 @@ */ package org.mxchange.jcoreswing.model; -import java.text.MessageFormat; import javax.swing.event.EventListenerList; import javax.swing.event.ListDataListener; import javax.swing.event.TableModelListener; @@ -38,94 +37,55 @@ public abstract class BaseModel extends BaseFrameworkSystem implements Model { * Protected constructor */ protected BaseModel () { - // Trace message - this.getLogger().trace("CALLED!"); //NOI18N - // Init listener list this.eventListenerList = new EventListenerList(); } @Override public void addListDataListener (final ListDataListener listener) { - // Trace message - this.getLogger().trace(MessageFormat.format("listener={0}", listener)); //NOI18N - // Listener must not be null if (null == listener) { // Abort here throw new NullPointerException("listener is null"); //NOI18N } - // Debug message - this.getLogger().debug(MessageFormat.format("Adding listener {0} ...", listener.getClass())); //NOI18N - // Remove listener this.eventListenerList.add(ListDataListener.class, listener); - - // Trace message - this.getLogger().trace("EXIT!"); //NOI18N } @Override public void addTableModelListener (final TableModelListener listener) { - // Trace message - this.getLogger().trace(MessageFormat.format("listener={0}", listener)); //NOI18N - // Listener must not be null if (null == listener) { // Abort here throw new NullPointerException("listener is null"); //NOI18N } - // Debug message - this.getLogger().debug(MessageFormat.format("Adding listener {0} ...", listener.getClass())); //NOI18N - // Add listener this.eventListenerList.add(TableModelListener.class, listener); - - // Trace message - this.getLogger().trace("EXIT!"); //NOI18N } @Override public void removeListDataListener (final ListDataListener listener) { - // Trace message - this.getLogger().trace(MessageFormat.format("listener={0}", listener)); //NOI18N - // Listener must not be null if (null == listener) { // Abort here throw new NullPointerException("listener is null"); //NOI18N } - // Debug message - this.getLogger().debug(MessageFormat.format("Removing listener {0} ...", listener.getClass())); //NOI18N - // Remove listener this.eventListenerList.remove(ListDataListener.class, listener); - - // Trace message - this.getLogger().trace("EXIT!"); //NOI18N } @Override public void removeTableModelListener (final TableModelListener listener) { - // Trace message - this.getLogger().trace(MessageFormat.format("listener={0}", listener)); //NOI18N - // Listener must not be null if (null == listener) { // Abort here throw new NullPointerException("listener is null"); //NOI18N } - // Debug message - this.getLogger().debug(MessageFormat.format("Removing listener {0} ...", listener.getClass())); //NOI18N - // Remove listener this.eventListenerList.remove(TableModelListener.class, listener); - - // Trace message - this.getLogger().trace("EXIT!"); //NOI18N } } diff --git a/src/org/mxchange/jcoreswing/model/swing/contact/ContactTableModel.java b/src/org/mxchange/jcoreswing/model/swing/contact/ContactTableModel.java index 303ef28..d478224 100644 --- a/src/org/mxchange/jcoreswing/model/swing/contact/ContactTableModel.java +++ b/src/org/mxchange/jcoreswing/model/swing/contact/ContactTableModel.java @@ -16,7 +16,6 @@ */ package org.mxchange.jcoreswing.model.swing.contact; -import java.text.MessageFormat; import javax.swing.table.TableModel; import org.mxchange.jcore.manager.Manageable; import org.mxchange.jcore.model.contact.Contact; @@ -36,9 +35,6 @@ public class ContactTableModel extends BaseModel implements Model, TableModel { * @param manager Manageable instance */ public ContactTableModel (final Manageable manager) { - // Trace message - this.getLogger().trace(MessageFormat.format("manager={1} - CALLED!", manager)); //NOI18N - // Manager must not be null if (null == manager) { // Abort here