]> git.mxchange.org Git - addressbook-swing.git/commitdiff
Cleaned up logger XML + renamed interface fixed
authorRoland Haeder <roland@mxchange.org>
Sat, 15 Aug 2015 09:02:17 +0000 (11:02 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 15 Aug 2015 09:02:17 +0000 (11:02 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

Addressbook/src/log4j2.xml
Addressbook/src/org/mxchange/addressbook/database/frontend/contact/AddressbookContactDatabaseFrontend.java

index 8860f19ebe29c068e05b6e609157193486556ba0..1ebbd9fd27e84c8140e6466a8b251312657b8931 100644 (file)
@@ -15,7 +15,7 @@ GNU General Public License for more details.
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 -->
-<Configuration status="WARN">
+<Configuration status="INFO">
        <Appenders>
                <Console name="STDOUT" target="SYSTEM_OUT">
                        <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/>
@@ -23,7 +23,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
        </Appenders>
        <Loggers>
                <Root level="trace">
-                       <AppenderRef ref="STDERR" level="WARNING"/>
                        <AppenderRef ref="STDOUT" level="TRACE"/>
                </Root>
        </Loggers>
index 0b98b4bf3311e8851234ebffe1e51d0c8dac1064..89802a8b5198ea3bc1f789da99e5dd1a21cc8856 100644 (file)
@@ -31,7 +31,7 @@ import org.mxchange.addressbook.manager.contact.AddressbookContactManager;
 import org.mxchange.jcore.contact.Contact;
 import org.mxchange.jcore.contact.Gender;
 import org.mxchange.jcore.criteria.searchable.SearchCriteria;
-import org.mxchange.jcore.criteria.searchable.SearchableCritera;
+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;
@@ -245,7 +245,7 @@ public class AddressbookContactDatabaseFrontend extends BaseDatabaseFrontend imp
        @Override
        public boolean isOwnContactFound () throws SQLException, IOException, BadTokenException, CorruptedDatabaseFileException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
                // Get search criteria instance
-               SearchableCritera critera = new SearchCriteria();
+               SearchableCriteria critera = new SearchCriteria();
 
                // Add condition
                critera.addCriteria(AddressbookContactDatabaseConstants.COLUMN_OWN_CONTACT, true);