X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fmircoders%2Fmodule%2FModuleTopics.java;h=e52a7c6ce164a4f8ddad46681b6b69f4c443791a;hb=4451d4c8c25d46e9c405e966ff6bd016a1512f4f;hp=e8efdfd5af76184f41b2bf4d2723714df07c4d7e;hpb=1bb7abb8f82c9bc0287fb3e226a0ea5d805db2df;p=mir.git diff --git a/source/mircoders/module/ModuleTopics.java b/source/mircoders/module/ModuleTopics.java index e8efdfd5..e52a7c6c 100755 --- a/source/mircoders/module/ModuleTopics.java +++ b/source/mircoders/module/ModuleTopics.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2001, 2002 The Mir-coders group + * Copyright (C) 2001, 2002 The Mir-coders group * * This file is part of Mir. * @@ -18,17 +18,15 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * In addition, as a special exception, The Mir-coders gives permission to link - * the code of this program with the com.oreilly.servlet library, any library - * licensed under the Apache Software License, The Sun (tm) Java Advanced - * Imaging library (JAI), The Sun JIMI library (or with modified versions of - * the above that use the same license as the above), and distribute linked - * combinations including the two. You must obey the GNU General Public - * License in all respects for all of the code used other than the above - * mentioned libraries. If you modify this file, you may extend this exception - * to your version of the file, but you are not obligated to do so. If you do - * not wish to do so, delete this exception statement from your version. + * the code of this program with any library licensed under the Apache Software License, + * The Sun (tm) Java Advanced Imaging library (JAI), The Sun JIMI library + * (or with modified versions of the above that use the same license as the above), + * and distribute linked combinations including the two. You must obey the + * GNU General Public License in all respects for all of the code used other than + * the above mentioned libraries. If you modify this file, you may extend this + * exception to your version of the file, but you are not obligated to do so. + * If you do not wish to do so, delete this exception statement from your version. */ - package mircoders.module; import java.util.Map; @@ -40,17 +38,6 @@ import mir.module.AbstractModule; import mir.module.ModuleExc; import mir.module.ModuleFailure; import mir.storage.StorageObject; -import mir.storage.StorageObjectExc; -import mir.storage.StorageObjectFailure; -import mircoders.storage.DatabaseTopics; -import freemarker.template.SimpleList; - -/* - * ThemenModule - - * - * - * @author RK - */ public class ModuleTopics extends AbstractModule { @@ -60,15 +47,6 @@ public class ModuleTopics extends AbstractModule { this.theStorage = theStorage; } - public SimpleList getTopicsAsSimpleList() throws ModuleExc, ModuleFailure { - try { - return ((DatabaseTopics) theStorage).getPopupData(); - } - catch (Throwable e) { - throw new ModuleFailure(e); - } - } - /** * Method getTopicList *