public final class GetTerms {
private PrintWriter outWriter;
private Database database;
private final SelectMap databaseQuery;
private static final Logger logger = Logger.getLogger(GetTerms.class);
<BUG>private String topicId;

public GetTerms(Database db, PrintWriter out, String topicId, int offset) {
</BUG>
this.setDatabase(db);

public final class GetTerms {
private PrintWriter outWriter;
private Database database;
private final SelectMap databaseQuery;
private static final Logger logger = Logger.getLogger(GetTerms.class);
private int topicId;
public GetTerms(Database db, PrintWriter out, int topicId, int offset) {
this.setDatabase(db);
