From 4d034f7713737a94adfb2da6a9580f8f623c75aa Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 3 Sep 2015 10:38:51 +0200 Subject: [PATCH] =?utf8?q?Tpyo=20fixed=20...=20;-)=20Signed-off-by:Roland?= =?utf8?q?=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../jcore/criteria/searchable/SearchCriteria.java | 10 +++++----- .../jcore/criteria/searchable/SearchableCriteria.java | 4 ++-- .../backend/base64/Base64CsvDatabaseBackend.java | 8 ++++---- .../mxchange/jcore/database/result/DatabaseResult.java | 6 +++--- src/org/mxchange/jcore/database/result/Result.java | 6 +++--- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/org/mxchange/jcore/criteria/searchable/SearchCriteria.java b/src/org/mxchange/jcore/criteria/searchable/SearchCriteria.java index 79e222f..403a195 100644 --- a/src/org/mxchange/jcore/criteria/searchable/SearchCriteria.java +++ b/src/org/mxchange/jcore/criteria/searchable/SearchCriteria.java @@ -66,14 +66,14 @@ public class SearchCriteria extends BaseCriteria implements SearchableCriteria { } @Override - public boolean matches (final Storable storeable) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException { + public boolean matches (final Storable storable) throws IllegalArgumentException, NoSuchMethodException, IllegalAccessException, InvocationTargetException { // Trace message - this.getLogger().trace(MessageFormat.format("storeable={0} - CALLED!", storeable)); //NOI18N + this.getLogger().trace(MessageFormat.format("storable={0} - CALLED!", storable)); //NOI18N // Must not be null - if (null == storeable) { + if (null == storable) { // Abort here - throw new NullPointerException("storeable is null"); //NOI18N + throw new NullPointerException("storable is null"); //NOI18N } // Debug message @@ -97,7 +97,7 @@ public class SearchCriteria extends BaseCriteria implements SearchableCriteria { this.getLogger().debug(MessageFormat.format("criteria: key={0},value[{1}]={2}", criteria.getKey(), criteria.getValue().getClass().getSimpleName(), criteria.getValue())); //NOI18N // Get value from column name - Object value = storeable.getValueFromColumn(criteria.getKey()); + Object value = storable.getValueFromColumn(criteria.getKey()); // Debug message this.getLogger().debug(MessageFormat.format("value={0},getValue()={1}", value, criteria.getValue())); //NOI18N diff --git a/src/org/mxchange/jcore/criteria/searchable/SearchableCriteria.java b/src/org/mxchange/jcore/criteria/searchable/SearchableCriteria.java index dd2ae3c..e72a662 100644 --- a/src/org/mxchange/jcore/criteria/searchable/SearchableCriteria.java +++ b/src/org/mxchange/jcore/criteria/searchable/SearchableCriteria.java @@ -29,14 +29,14 @@ public interface SearchableCriteria extends Criteria { /** * Checks if the given instance of a Storable class matches * - * @param storeable A Storable instance to check + * @param storable A Storable instance to check * @return Whether the Storable instance matches * @throws IllegalArgumentException Some implementations may throw this * @throws java.lang.NoSuchMethodException If the invoked method was not found * @throws java.lang.IllegalAccessException If the method cannot be accessed * @throws java.lang.reflect.InvocationTargetException Any other problems? */ - public boolean matches (final Storable storeable) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException; + public boolean matches (final Storable storable) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException; /** * Setter for limit of possible matches diff --git a/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java b/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java index 86e0212..6eba92a 100644 --- a/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java +++ b/src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java @@ -195,15 +195,15 @@ public class Base64CsvDatabaseBackend extends BaseDatabaseBackend implements Dat Map map = this.getMapFromLine(line); // Convert it to a Storable instance - Storable storeable = this.getFrontend().toStorable(map); + Storable storable = this.getFrontend().toStorable(map); // Debug message - this.getLogger().debug(MessageFormat.format("storeable={0}", storeable)); //NOI18N + this.getLogger().debug(MessageFormat.format("storable={0}", storable)); //NOI18N // Now matches the found instance - if (criteria.matches(storeable)) { + if (criteria.matches(storable)) { // Then add it to result - result.add(storeable); + result.add(storable); } } diff --git a/src/org/mxchange/jcore/database/result/DatabaseResult.java b/src/org/mxchange/jcore/database/result/DatabaseResult.java index ca36f22..549f23d 100644 --- a/src/org/mxchange/jcore/database/result/DatabaseResult.java +++ b/src/org/mxchange/jcore/database/result/DatabaseResult.java @@ -83,12 +83,12 @@ public class DatabaseResult extends BaseFrameworkSystem implements Result Anything that is storeable + * @param Anything that is storable */ public interface Result extends FrameworkInterface, Iterator, Iterable { /** * Given Storable instance as a query result. * - * @param storeable An instance of a Storable class + * @param storable An instance of a Storable class */ - public void add (final Storable storeable); + public void add (final Storable storable); /** * Setter for warnings -- 2.39.2