if (theStorage == null)
logger.warn("ModuleArticleType -- StorageObject was null!");
- this.theStorage = theStorage;
+ this.storage = theStorage;
}
public String articleTypeIdForName(String aName) throws ModuleExc, ModuleFailure {
try {
- return theStorage.executeFreeSingleValueSql("select id from article_type where name = '" + JDBCStringRoutines.escapeStringLiteral(aName) + "'");
+ return storage.executeFreeSingleValueSql("select id from article_type where name = '" + JDBCStringRoutines.escapeStringLiteral(aName) + "'");
}
catch (Throwable t) {
throw new ModuleFailure(t);