org/sonews/storage/impl/JDBCDatabase.java
changeset 14 efce4ec25564
parent 12 bb6990c0dd1a
child 16 5a4a41cfc0a3
     1.1 --- a/org/sonews/storage/impl/JDBCDatabase.java	Thu Aug 20 16:49:38 2009 +0200
     1.2 +++ b/org/sonews/storage/impl/JDBCDatabase.java	Thu Aug 20 16:57:38 2009 +0200
     1.3 @@ -31,7 +31,6 @@
     1.4  import java.util.regex.Pattern;
     1.5  import java.util.regex.PatternSyntaxException;
     1.6  import javax.mail.Header;
     1.7 -import javax.mail.internet.InternetAddress;
     1.8  import javax.mail.internet.MimeUtility;
     1.9  import org.sonews.config.Config;
    1.10  import org.sonews.util.Log;
    1.11 @@ -1053,14 +1052,14 @@
    1.12    }
    1.13  
    1.14    @Override
    1.15 -  public List<String> getGroupsForList(InternetAddress listAddress)
    1.16 +  public List<String> getGroupsForList(String listAddress)
    1.17      throws StorageBackendException
    1.18    {
    1.19      ResultSet rs = null;
    1.20      
    1.21      try
    1.22      {
    1.23 -      this.pstmtGetGroupForList.setString(1, listAddress.getAddress());
    1.24 +      this.pstmtGetGroupForList.setString(1, listAddress);
    1.25  
    1.26        rs = this.pstmtGetGroupForList.executeQuery();
    1.27        List<String> groups = new ArrayList<String>();