From: Roland Haeder Date: Fri, 28 Aug 2015 10:12:35 +0000 (+0200) Subject: More tpyos fixed ... ;-) + updated jcore.jar X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0d39c00a5280d91d37b1ac023ee69418997b2aa4;p=jaddressbook-share-lib.git More tpyos fixed ... ;-) + updated jcore.jar Signed-off-by:Roland Häder --- diff --git a/lib/jcore.jar b/lib/jcore.jar index cb767a0..adc5c6d 100644 Binary files a/lib/jcore.jar and b/lib/jcore.jar differ diff --git a/src/org/mxchange/addressbook/database/frontend/contact/AddressbookContactDatabaseFrontend.java b/src/org/mxchange/addressbook/database/frontend/contact/AddressbookContactDatabaseFrontend.java index 02089cb..55fa858 100644 --- a/src/org/mxchange/addressbook/database/frontend/contact/AddressbookContactDatabaseFrontend.java +++ b/src/org/mxchange/addressbook/database/frontend/contact/AddressbookContactDatabaseFrontend.java @@ -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 result = this.doInsertDataSet(); + Result 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 result = this.getBackend().doSelectByCriteria(criteria); + Result 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 result = this.getBackend().doSelectByCriteria(criteria); + Result result = this.getBackend().doSelectByCriteria(criteria); // Debug message this.getLogger().debug(MessageFormat.format("result({0})={1}", result.size(), result)); // Start iteration - Iterator iterator = result.iterator(); + Iterator 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 result = this.getBackend().doSelectByCriteria(criteria); + Result result = this.getBackend().doSelectByCriteria(criteria); // Deligate this call to backend return result.hasNext(); } @Override - public Storeable toStoreable (final Map map) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { + public Storable toStorable (final Map map) throws NoSuchMethodException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { throw new UnsupportedOperationException("Not supported yet: map=" + map); } } diff --git a/src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java b/src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java index 881d1ba..20e7b9c 100644 --- a/src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java +++ b/src/org/mxchange/addressbook/manager/contact/AddressbookContactManager.java @@ -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));