]> git.mxchange.org Git - addressbook-swing.git/commitdiff
Removed redundant cast to Client
authorRoland Haeder <roland@mxchange.org>
Fri, 19 Feb 2016 14:32:33 +0000 (15:32 +0100)
committerRoland Haeder <roland@mxchange.org>
Fri, 19 Feb 2016 14:32:33 +0000 (15:32 +0100)
src/org/mxchange/addressbook/client/BaseAddressbookClient.java

index 5b0a827360c0ad9b42fb4d4b8e65674dd6b6da21..84088912199add9fbbbca68b9898643d12c45bc3 100644 (file)
@@ -28,7 +28,6 @@ import org.mxchange.addressbook.facade.contact.AddressbookContactFacade;
 import org.mxchange.addressbook.facade.contact.ContactFacade;
 import org.mxchange.addressbook.menu.Menu;
 import org.mxchange.jcore.client.BaseClient;
-import org.mxchange.jcore.client.Client;
 import org.mxchange.jcoreeelogger.beans.local.logger.Log;
 import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
 
@@ -160,7 +159,7 @@ public abstract class BaseAddressbookClient extends BaseClient implements Addres
 
                // Init contact facade with console client
                // TODO Static initial amount of contacts
-               ContactFacade facade = new AddressbookContactFacade((Client) this);
+               ContactFacade facade = new AddressbookContactFacade(this);
 
                // Set it here
                this.setFacade(facade);