]> git.mxchange.org Git - addressbook-swing.git/commitdiff
More tpyos fixed ... ;-) + updated jcore.jar
authorRoland Haeder <roland@mxchange.org>
Fri, 28 Aug 2015 10:12:35 +0000 (12:12 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 28 Aug 2015 10:12:35 +0000 (12:12 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcore.jar
src/org/mxchange/addressbook/database/frontend/contact/AddressbookContactDatabaseFrontend.java
src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java

index cb767a056f099c415d44ec2c1db758d178636334..adc5c6d62b12352d537c21cf4551a8411d51a901 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ
index 02089cbe250b75015cf39b32d196ecc9c533ae34..55fa8586b3fa72d2e4c1058d36acdbf386f7ed07 100644 (file)
@@ -31,7 +31,7 @@ import org.mxchange.jcore.criteria.searchable.SearchCriteria;
 import org.mxchange.jcore.criteria.searchable.SearchableCriteria;
 import org.mxchange.jcore.database.frontend.BaseDatabaseFrontend;
 import org.mxchange.jcore.database.result.Result;
-import org.mxchange.jcore.database.storage.Storeable;
+import org.mxchange.jcore.database.storage.Storable;
 import org.mxchange.jcore.exceptions.BadTokenException;
 import org.mxchange.jcore.exceptions.CorruptedDatabaseFileException;
 import org.mxchange.jcore.exceptions.UnsupportedDatabaseBackendException;
@@ -118,7 +118,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
 
                        // Then add it
                        // @todo Nothing is done yet!
-                       Result<? extends Storeable> result = this.doInsertDataSet();
+                       Result<? extends Storable> result = this.doInsertDataSet();
 
                        // Debug message
                        this.getLogger().debug(MessageFormat.format("result={0}", result)); //NOI18N
@@ -178,7 +178,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
                criteria.setLimit(1);
 
                // Then search for it
-               Result<? extends Storeable> result = this.getBackend().doSelectByCriteria(criteria);
+               Result<? extends Storable> result = this.getBackend().doSelectByCriteria(criteria);
 
                // Debug message
                this.getLogger().debug(MessageFormat.format("result={0}", result));
@@ -189,7 +189,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
                // Is there one row at least?
                if (result.hasNext()) {
                        // Then get it
-                       Storeable storeable = result.next();
+                       Storable storeable = result.next();
 
                        // Debug message
                        this.getLogger().debug(MessageFormat.format("storeable={0}", storeable));
@@ -212,7 +212,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
        }
 
        @Override
-       public Storeable getStoreableAtRow (final int rowIndex) {
+       public Storable getStorableAtRow (final int rowIndex) {
                throw new UnsupportedOperationException("Not supported yet: rowIndex=" + rowIndex);
        }
 
@@ -234,12 +234,12 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
                SearchableCriteria criteria = new SearchCriteria();
 
                // Look for all entries and compare here. Else all entries needs to be compared with many AND statements
-               Result<? extends Storeable> result = this.getBackend().doSelectByCriteria(criteria);
+               Result<? extends Storable> result = this.getBackend().doSelectByCriteria(criteria);
 
                // Debug message
                this.getLogger().debug(MessageFormat.format("result({0})={1}", result.size(), result));
                // Start iteration
-               Iterator<? extends Storeable> iterator = result.iterator();
+               Iterator<? extends Storable> iterator = result.iterator();
 
                // Check all entries
                while (iterator.hasNext()) {
@@ -273,14 +273,14 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
                criteria.addCriteria(AddressbookContactDatabaseConstants.COLUMN_OWN_CONTACT, true);
 
                // Get result
-               Result<? extends Storeable> result = this.getBackend().doSelectByCriteria(criteria);
+               Result<? extends Storable> result = this.getBackend().doSelectByCriteria(criteria);
 
                // Deligate this call to backend
                return result.hasNext();
        }
 
        @Override
-       public Storeable toStoreable (final Map<String, String> map) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
+       public Storable toStorable (final Map<String, String> map) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException {
                throw new UnsupportedOperationException("Not supported yet: map=" + map);
        }
 }
index 881d1baf25c5ecc50b443b1a1561ce7f51c2259a..20e7b9c8d49a6c1d5ecd3b78cd68d7562d8207d9 100644 (file)
@@ -32,7 +32,7 @@ import org.mxchange.jcore.client.Client;
 import org.mxchange.jcore.contact.Contact;
 import org.mxchange.jcore.contact.Gender;
 import org.mxchange.jcore.database.frontend.DatabaseFrontend;
-import org.mxchange.jcore.database.storage.Storeable;
+import org.mxchange.jcore.database.storage.Storable;
 import org.mxchange.jcore.exceptions.BadTokenException;
 import org.mxchange.jcore.exceptions.CorruptedDatabaseFileException;
 import org.mxchange.jcore.exceptions.UnhandledUserChoiceException;
@@ -603,7 +603,7 @@ public class AddressbookContactManager extends BaseManager implements Manageable
                this.getLogger().trace(MessageFormat.format("rowIndex={0},columnIndex={1} CALLED!", rowIndex, columnIndex));
 
                // Then get specific row from database which is a Contact instance
-               Storeable storeable = this.getFrontend().getStoreableAtRow(rowIndex);
+               Storable storeable = this.getFrontend().getStorableAtRow(rowIndex);
 
                // Debug message
                this.getLogger().debug(MessageFormat.format("storeable={0}", storeable));