From: Roland Haeder Date: Thu, 3 Sep 2015 08:38:51 +0000 (+0200) Subject: Tpyo fixed ... ;-) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4d034f7713737a94adfb2da6a9580f8f623c75aa;p=jcore.git Tpyo fixed ... ;-) Signed-off-by:Roland Häder --- 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