]> git.mxchange.org Git - jcore-swing.git/commitdiff
updated jars + removed logger
authorRoland Haeder <roland@mxchange.org>
Tue, 29 Sep 2015 13:33:24 +0000 (15:33 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 29 Sep 2015 13:33:24 +0000 (15:33 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcore.jar
src/org/mxchange/jcoreswing/model/BaseModel.java
src/org/mxchange/jcoreswing/model/swing/contact/ContactTableModel.java

index bff5c73b4f02f01a1d004c465d1c99a0d024e32c..2179b37e40284525a5cb25cce157f22bfc9b782e 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ
index 14e3d51829c8a45df0176661b29e65e94cbbc4c1..abca85cbc5f2a40db3ba2aa61c243968c2f98b47 100644 (file)
@@ -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
        }
 }
index 303ef283d897d0bc323cbe5a4f581ce093b4819a..d47822438c67d61928874ff9651a732ee96520c2 100644 (file)
@@ -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