]> git.mxchange.org Git - jcore.git/commitdiff
Tpyo fixed ... ;-)
authorRoland Haeder <roland@mxchange.org>
Thu, 3 Sep 2015 08:38:51 +0000 (10:38 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 3 Sep 2015 08:38:51 +0000 (10:38 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcore/criteria/searchable/SearchCriteria.java
src/org/mxchange/jcore/criteria/searchable/SearchableCriteria.java
src/org/mxchange/jcore/database/backend/base64/Base64CsvDatabaseBackend.java
src/org/mxchange/jcore/database/result/DatabaseResult.java
src/org/mxchange/jcore/database/result/Result.java

index 79e222fc7a3839edab02c53961effe494bd8bc50..403a195d4bfe61b5539379f979466979b64927c6 100644 (file)
@@ -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
index dd2ae3c6b9b95fba38ced89e182dea7adf59a58c..e72a662e6473b9743da9e89deaf3d0d09fe33180 100644 (file)
@@ -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
index 86e0212324b2a957f1a516398df769e384912946..6eba92a314aecab95959e2556bb279a6e3f7d0e9 100644 (file)
@@ -195,15 +195,15 @@ public class Base64CsvDatabaseBackend extends BaseDatabaseBackend implements Dat
                        Map<String, String> 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);
                        }
                }
 
index ca36f22e067428d8c32ca04afcf7e24f78325f63..549f23d35c8aae951e0065d9acd2dcde15512c01 100644 (file)
@@ -83,12 +83,12 @@ public class DatabaseResult extends BaseFrameworkSystem implements Result<Storab
        /**
         * Given Storable instance as a query result.
         *
-        * @param storeable An instance of a Storable class
+        * @param storable An instance of a Storable class
         */
        @Override
-       public final void add (final Storable storeable) {
+       public final void add (final Storable storable) {
                // Add to result
-               this.result.add(storeable);
+               this.result.add(storable);
        }
 
        /**
index 8337c5e3159695730e996c15f869c374da488c2d..8d73b99a479ea59be52a81e81a7ba82fa3b1c7be 100644 (file)
@@ -26,16 +26,16 @@ import org.mxchange.jcore.database.storage.Storable;
  * An interface for database results
  *
  * @author Roland Haeder
- * @param <T> Anything that is storeable
+ * @param <T> Anything that is storable
  */
 public interface Result<T extends Storable> extends FrameworkInterface, Iterator<T>, Iterable<T> {
 
        /**
         * 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