From: Roland Haeder Date: Thu, 6 Aug 2015 07:28:43 +0000 (+0200) Subject: Let generic class BaseClient implement general Client interface for better code style X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bff36beb61e8a8b8be53beda6651e38feb344af1;p=jcore.git Let generic class BaseClient implement general Client interface for better code style Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jcore/client/BaseClient.java b/src/org/mxchange/jcore/client/BaseClient.java index dedc3fa..1f724af 100644 --- a/src/org/mxchange/jcore/client/BaseClient.java +++ b/src/org/mxchange/jcore/client/BaseClient.java @@ -23,7 +23,7 @@ import org.mxchange.jcore.BaseFrameworkSystem; * * @author Roland Haeder */ -public abstract class BaseClient extends BaseFrameworkSystem { +public abstract class BaseClient extends BaseFrameworkSystem implements Client { /** * Application is not running by default @@ -39,6 +39,7 @@ public abstract class BaseClient extends BaseFrameworkSystem { /** * Shutdown method for all clients */ + @Override public void doShutdown () { // Trace message this.getLogger().trace("CALLED!"); //NOI18N @@ -56,6 +57,7 @@ public abstract class BaseClient extends BaseFrameworkSystem { /** * Enables the client */ + @Override public final void enableIsRunning () { this.isRunning = true; } @@ -66,6 +68,7 @@ public abstract class BaseClient extends BaseFrameworkSystem { * * @return Whether the application is still active */ + @Override public final boolean isRunning () { // In console client, 0 may have been used return this.isRunning; diff --git a/src/org/mxchange/jcore/manager/application/ManageableApplication.java b/src/org/mxchange/jcore/manager/application/ManageableApplication.java index 5a3460e..a9a43f1 100644 --- a/src/org/mxchange/jcore/manager/application/ManageableApplication.java +++ b/src/org/mxchange/jcore/manager/application/ManageableApplication.java @@ -19,6 +19,7 @@ package org.mxchange.jcore.manager.application; import org.mxchange.jcore.manager.Manageable; /** + * An interface for application manager * * @author Roland Haeder */