1.1 --- a/src/org/sonews/storage/impl/DrupalDatabase.java Wed Oct 12 00:11:25 2011 +0200
1.2 +++ b/src/org/sonews/storage/impl/DrupalDatabase.java Wed Oct 12 00:25:14 2011 +0200
1.3 @@ -22,15 +22,11 @@
1.4 import java.sql.PreparedStatement;
1.5 import java.sql.ResultSet;
1.6 import java.sql.Statement;
1.7 -import java.text.SimpleDateFormat;
1.8 import java.util.ArrayList;
1.9 import java.util.Collections;
1.10 import java.util.List;
1.11 -import java.util.Locale;
1.12 import java.util.logging.Level;
1.13 import java.util.logging.Logger;
1.14 -import javax.mail.Message;
1.15 -import org.apache.commons.codec.net.QuotedPrintableCodec;
1.16 import org.sonews.config.Config;
1.17 import org.sonews.feed.Subscription;
1.18 import org.sonews.storage.Article;
1.19 @@ -52,8 +48,6 @@
1.20 public static final String CHARSET = "UTF-8";
1.21 public static final String CRLF = "\r\n";
1.22 protected Connection conn = null;
1.23 - private QuotedPrintableCodec qpc = new QuotedPrintableCodec(CHARSET);
1.24 - private SimpleDateFormat RFC822_DATE = new SimpleDateFormat("EEE', 'dd' 'MMM' 'yyyy' 'HH:mm:ss' 'Z", Locale.US);
1.25 // TODO: správná doména
1.26 private String myDomain = "nntp.i1984.cz";
1.27