diff -r de98fd5b35f5 -r efce4ec25564 org/sonews/storage/impl/JDBCDatabase.java --- a/org/sonews/storage/impl/JDBCDatabase.java Thu Aug 20 16:49:38 2009 +0200 +++ b/org/sonews/storage/impl/JDBCDatabase.java Thu Aug 20 16:57:38 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();