diff -r 7e24949b87b0 -r 21f413541357 src/org/sonews/storage/impl/HSQLDB.java --- a/src/org/sonews/storage/impl/HSQLDB.java Sat Sep 10 18:18:05 2011 +0200 +++ b/src/org/sonews/storage/impl/HSQLDB.java Sun Oct 16 22:36:46 2011 +0200 @@ -18,9 +18,8 @@ package org.sonews.storage.impl; import java.sql.SQLException; -import org.sonews.storage.Channel; +import org.sonews.storage.Group; import org.sonews.storage.Storage; -import org.sonews.storage.StorageBackendException; /** * A specialized JDBCDatabase supporting HSQLDB. @@ -39,7 +38,7 @@ protected void prepareCountGroupsStatement() throws SQLException { this.pstmtCountGroups = conn.prepareStatement( "SELECT Count(group_id) FROM groups WHERE " - + "BITAND(flags, " + Channel.DELETED + ") = 0"); + + "BITAND(flags, " + Group.DELETED + ") = 0"); } @Override