From: <aki...@us...> - 2010-05-26 20:24:29
|
Revision: 8009 http://gridarta.svn.sourceforge.net/gridarta/?rev=8009&view=rev Author: akirschbaum Date: 2010-05-26 20:24:23 +0000 (Wed, 26 May 2010) Log Message: ----------- Remove unused code. Modified Paths: -------------- trunk/src/app/net/sf/gridarta/maincontrol/GridartaEditor.java Removed Paths: ------------- trunk/src/app/net/sf/gridarta/commands/CreateThumbsCommand.java Deleted: trunk/src/app/net/sf/gridarta/commands/CreateThumbsCommand.java =================================================================== --- trunk/src/app/net/sf/gridarta/commands/CreateThumbsCommand.java 2010-05-26 20:19:58 UTC (rev 8008) +++ trunk/src/app/net/sf/gridarta/commands/CreateThumbsCommand.java 2010-05-26 20:24:23 UTC (rev 8009) @@ -1,48 +0,0 @@ -/* - * Gridarta MMORPG map editor for Crossfire, Daimonin and similar games. - * Copyright (C) 2000-2010 The Gridarta Developers. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -package net.sf.gridarta.commands; - -import java.util.List; -import org.jetbrains.annotations.NotNull; - -/** - * Run in collect arches mode. - * @author <a href="mailto:ch...@ri...">Christian Hujer</a> - * @author Andreas Kirschbaum - */ -public class CreateThumbsCommand implements Command { - - /** - * Creates a new instance. - * @param args the arguments - */ - public CreateThumbsCommand(@NotNull final List<String> args) { - } - - /** - * {@inheritDoc} - */ - @Override - public int execute() { - System.err.println("Not yet implemented."); // XXX: implement command - return 1; - } - -} // class CreateThumbsCommand Modified: trunk/src/app/net/sf/gridarta/maincontrol/GridartaEditor.java =================================================================== --- trunk/src/app/net/sf/gridarta/maincontrol/GridartaEditor.java 2010-05-26 20:19:58 UTC (rev 8008) +++ trunk/src/app/net/sf/gridarta/maincontrol/GridartaEditor.java 2010-05-26 20:24:23 UTC (rev 8009) @@ -35,7 +35,6 @@ import net.sf.gridarta.commands.BatchPngCommand; import net.sf.gridarta.commands.CollectArchesCommand; import net.sf.gridarta.commands.Command; -import net.sf.gridarta.commands.CreateThumbsCommand; import net.sf.gridarta.commands.ScriptCommand; import net.sf.gridarta.commands.SinglePngCommand; import net.sf.gridarta.gui.errorview.ConsoleErrorView; @@ -308,10 +307,6 @@ returnCode = new SinglePngCommand(new File(args2.get(0)), new File(args2.get(1)), new ImageCreatorFactory<G, A, R>(systemIcons).newImageCreator(editorFactory)).execute(); break; - case CREATE_THUMBS: - returnCode = new CreateThumbsCommand(args2).execute(); - break; - case COLLECT_ARCHES: returnCode = new CollectArchesCommand(resources, globalSettings).execute(); break; @@ -579,14 +574,9 @@ /** * Collect archetypes. */ - COLLECT_ARCHES(true), + COLLECT_ARCHES(true); /** - * Create Thumbnails. - */ - CREATE_THUMBS(false); - - /** * Whether this mode uses console-mode. */ private final boolean consoleMode; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |