From cf5d98f8e1028421d45d23c8ec007475e45ca307 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 6 Aug 2015 09:25:25 +0200 Subject: [PATCH] =?utf8?q?Some=20cleanups=20from=20previous=20import=20fro?= =?utf8?q?m=20addressbook=20project=20Signed-off-by:Roland=20H=C3=A4der=20?= =?utf8?q??= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../mxchange/jcore/database/backend/BaseDatabaseBackend.java | 4 ++-- src/org/mxchange/jcore/database/backend/DatabaseBackend.java | 4 ++-- .../database/backend/base64/Base64CsvDatabaseBackend.java | 4 ++-- .../jcore/database/backend/mysql/MySqlDatabaseBackend.java | 2 +- .../jcore/database/frontend/BaseDatabaseFrontend.java | 2 +- src/org/mxchange/jcore/database/storage/csv/StoreableCsv.java | 2 +- src/org/mxchange/jcore/manager/Manageable.java | 3 ++- 7 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/org/mxchange/jcore/database/backend/BaseDatabaseBackend.java b/src/org/mxchange/jcore/database/backend/BaseDatabaseBackend.java index 5ef2506..6374909 100644 --- a/src/org/mxchange/jcore/database/backend/BaseDatabaseBackend.java +++ b/src/org/mxchange/jcore/database/backend/BaseDatabaseBackend.java @@ -20,8 +20,8 @@ import java.sql.Driver; import java.sql.DriverManager; import java.text.MessageFormat; import java.util.Enumeration; -import org.mxchange.jcore.exceptions.UnsupportedDatabaseDriverException; import org.mxchange.jcore.BaseFrameworkSystem; +import org.mxchange.jcore.exceptions.UnsupportedDatabaseDriverException; /** * Generall database backend @@ -40,7 +40,7 @@ public class BaseDatabaseBackend extends BaseFrameworkSystem { * Validates driver name and throws an exception if the driver is not valid * * @param driverName Driver name (e.g. "mysql") - * @throws org.mxchange.addressbook.exceptions.UnsupportedDatabaseDriverException If the given driver name cannot be solved into a driver instance + * @throws org.mxchange.jcore.exceptions.UnsupportedDatabaseDriverException If the given driver name cannot be solved into a driver instance */ protected void validateDriver (final String driverName) throws UnsupportedDatabaseDriverException { // Trace message diff --git a/src/org/mxchange/jcore/database/backend/DatabaseBackend.java b/src/org/mxchange/jcore/database/backend/DatabaseBackend.java index c7fa70e..3a81542 100644 --- a/src/org/mxchange/jcore/database/backend/DatabaseBackend.java +++ b/src/org/mxchange/jcore/database/backend/DatabaseBackend.java @@ -93,7 +93,7 @@ public interface DatabaseBackend extends FrameworkInterface { * Gets an iterator for contacts * * @return Iterator for contacts - * @throws org.mxchange.addressbook.exceptions.BadTokenException If the CSV token is badly formulated + * @throws org.mxchange.jcore.exceptions.BadTokenException If the CSV token is badly formulated */ public Iterator iterator () throws BadTokenException; @@ -102,7 +102,7 @@ public interface DatabaseBackend extends FrameworkInterface { * * @param rowIndex Row index (or how much to skip) * @return A Storeable instance - * @throws org.mxchange.addressbook.exceptions.BadTokenException If a token was badly formatted + * @throws org.mxchange.jcore.exceptions.BadTokenException If a token was badly formatted */ public Storeable readRow (final int rowIndex) throws BadTokenException; } diff --git a/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java b/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java index fb46eda..aba21ce 100644 --- a/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java +++ b/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java @@ -257,7 +257,7 @@ public class Base64CsvDatabaseBackend extends BaseDatabaseBackend implements Dat * Gets an iterator for contacts * * @return Iterator for contacts - * @throws org.mxchange.addressbook.exceptions.BadTokenException If the + * @throws org.mxchange.jcore.exceptions.BadTokenException If the * underlaying method has found an invalid token */ @Override @@ -309,7 +309,7 @@ public class Base64CsvDatabaseBackend extends BaseDatabaseBackend implements Dat * * @param rowIndex Row index (or how much to skip) * @return A Storeable instance - * @throws org.mxchange.addressbook.exceptions.BadTokenException If a token + * @throws org.mxchange.jcore.exceptions.BadTokenException If a token * was badly formatted */ @Override diff --git a/src/org/mxchange/jcore/database/backend/mysql/MySqlDatabaseBackend.java b/src/org/mxchange/jcore/database/backend/mysql/MySqlDatabaseBackend.java index 4fe807c..054edf1 100644 --- a/src/org/mxchange/jcore/database/backend/mysql/MySqlDatabaseBackend.java +++ b/src/org/mxchange/jcore/database/backend/mysql/MySqlDatabaseBackend.java @@ -50,7 +50,7 @@ public class MySqlDatabaseBackend extends BaseDatabaseBackend implements Databas * Constructor with table name * * @param tableName Table to access - * @throws org.mxchange.addressbook.exceptions.UnsupportedDatabaseDriverException + * @throws org.mxchange.jcore.exceptions.UnsupportedDatabaseDriverException If the requested driver is not supported */ public MySqlDatabaseBackend (final String tableName) throws UnsupportedDatabaseDriverException { // Validate driver diff --git a/src/org/mxchange/jcore/database/frontend/BaseDatabaseFrontend.java b/src/org/mxchange/jcore/database/frontend/BaseDatabaseFrontend.java index a4ab83b..3ac5257 100644 --- a/src/org/mxchange/jcore/database/frontend/BaseDatabaseFrontend.java +++ b/src/org/mxchange/jcore/database/frontend/BaseDatabaseFrontend.java @@ -63,7 +63,7 @@ public abstract class BaseDatabaseFrontend extends BaseFrameworkSystem implement /** * Initialize backend * - * @throws org.mxchange.addressbook.exceptions.UnsupportedDatabaseBackendException If the backend is not supported + * @throws org.mxchange.jcore.exceptions.UnsupportedDatabaseBackendException If the backend is not supported * @throws java.sql.SQLException If a SQL database backend fails to connect */ protected void initBackend () throws UnsupportedDatabaseBackendException, SQLException { diff --git a/src/org/mxchange/jcore/database/storage/csv/StoreableCsv.java b/src/org/mxchange/jcore/database/storage/csv/StoreableCsv.java index 431fa79..1f09325 100644 --- a/src/org/mxchange/jcore/database/storage/csv/StoreableCsv.java +++ b/src/org/mxchange/jcore/database/storage/csv/StoreableCsv.java @@ -22,7 +22,7 @@ import org.mxchange.jcore.database.storage.Storeable; * An interface for classes which should be storeable as a CSV string * * @author Roland Haeder - * @deprecated This method was for an old way of storing data into + * @deprecated This interface was for an old way of storing data into * comma-separated value files. Now that there is BASE64-encoding, this formating * is no longer needed. */ diff --git a/src/org/mxchange/jcore/manager/Manageable.java b/src/org/mxchange/jcore/manager/Manageable.java index 5e7fa1b..1402e1d 100644 --- a/src/org/mxchange/jcore/manager/Manageable.java +++ b/src/org/mxchange/jcore/manager/Manageable.java @@ -19,7 +19,8 @@ package org.mxchange.jcore.manager; import org.mxchange.jcore.FrameworkInterface; /** - * + * A general interface for any kind of manager classes + * * @author Roland Haeder */ public interface Manageable extends FrameworkInterface { -- 2.39.5