diff -r bb6990c0dd1a -r f2293e8566f5 org/sonews/storage/impl/JDBCDatabase.java --- a/org/sonews/storage/impl/JDBCDatabase.java Thu Aug 20 14:31:19 2009 +0200 +++ b/org/sonews/storage/impl/JDBCDatabase.java Thu Aug 20 18:41:21 2009 +0200 @@ -31,7 +31,6 @@ import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; import javax.mail.Header; -import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeUtility; import org.sonews.config.Config; import org.sonews.util.Log; @@ -1053,14 +1052,14 @@ } @Override - public List getGroupsForList(InternetAddress listAddress) + public List getGroupsForList(String listAddress) throws StorageBackendException { ResultSet rs = null; try { - this.pstmtGetGroupForList.setString(1, listAddress.getAddress()); + this.pstmtGetGroupForList.setString(1, listAddress); rs = this.pstmtGetGroupForList.executeQuery(); List groups = new ArrayList();