comparison artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java @ 451:e79ad624f94c

Typo fix in log message.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 20 Dec 2012 10:55:57 +0100
parents da33275fb765
children
comparison
equal deleted inserted replaced
450:364e3ea0ae11 451:e79ad624f94c
985 985
986 return exec.runRead() ? user[0] : null; 986 return exec.runRead() ? user[0] : null;
987 } 987 }
988 988
989 /** 989 /**
990 * Find/Get user by account 990 * Find/Get user by account.
991 */ 991 */
992 public User findUser( 992 public User findUser(
993 final String account, 993 final String account,
994 final UserFactory factory, 994 final UserFactory factory,
995 final Object context 995 final Object context
996 ) { 996 ) {
997 997
998 final User [] user = new User[1]; 998 final User [] user = new User[1];
999 logger.debug("Tying to find user by account " + account); 999 logger.debug("Trying to find user by account " + account);
1000 1000
1001 SQLExecutor.Instance exec = sqlExecutor.new Instance() { 1001 SQLExecutor.Instance exec = sqlExecutor.new Instance() {
1002 public boolean doIt() throws SQLException { 1002 public boolean doIt() throws SQLException {
1003 prepareStatement(SQL_USERS_SELECT_ACCOUNT); 1003 prepareStatement(SQL_USERS_SELECT_ACCOUNT);
1004 stmnt.setString(1, account); 1004 stmnt.setString(1, account);

http://dive4elements.wald.intevation.org