src/org/sonews/storage/impl/JDBCDatabase.java
changeset 91 70286a6cf338
parent 48 b78e77619152
child 101 d54786065fa3
     1.1 --- a/src/org/sonews/storage/impl/JDBCDatabase.java	Sun Sep 11 15:05:04 2011 +0200
     1.2 +++ b/src/org/sonews/storage/impl/JDBCDatabase.java	Mon Oct 17 19:50:23 2011 +0200
     1.3 @@ -49,10 +49,9 @@
     1.4   * @since sonews/0.5.0
     1.5   */
     1.6  // TODO: Refactor this class to reduce size (e.g. ArticleDatabase GroupDatabase)
     1.7 -public class JDBCDatabase implements Storage
     1.8 -{
     1.9 +public class JDBCDatabase implements Storage {
    1.10 +	public static final int MAX_RESTARTS = 2;
    1.11  
    1.12 -	public static final int MAX_RESTARTS = 2;
    1.13  	protected Connection conn = null;
    1.14  	protected PreparedStatement pstmtAddArticle1 = null;
    1.15  	protected PreparedStatement pstmtAddArticle2 = null;