From: David ‘Bombe’ Roden Date: Sat, 17 Mar 2012 02:06:32 +0000 (+0100) Subject: Return some unnecessary stuff. X-Git-Tag: 0.10-rc1~36 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4a177438b3d26f7afe500ef385c6c0877995502f;p=jSite.git Return some unnecessary stuff. --- diff --git a/src/de/todesbaum/jsite/gui/ProjectFilesPage.java b/src/de/todesbaum/jsite/gui/ProjectFilesPage.java index 0ca9508..9514f5d 100644 --- a/src/de/todesbaum/jsite/gui/ProjectFilesPage.java +++ b/src/de/todesbaum/jsite/gui/ProjectFilesPage.java @@ -27,7 +27,6 @@ import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.text.MessageFormat; -import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; @@ -320,19 +319,6 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis }); } - /** - * Returns a list of all project files. - * - * @return All project files - */ - private List getProjectFiles() { - List files = new ArrayList(); - for (int index = 0, size = projectFileList.getModel().getSize(); index < size; index++) { - files.add((String) projectFileList.getModel().getElementAt(index)); - } - return files; - } - // // ACTIONS // @@ -479,7 +465,6 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis public void valueChanged(ListSelectionEvent e) { String filename = (String) projectFileList.getSelectedValue(); boolean enabled = filename != null; - boolean insert = fileOptionsInsertCheckBox.isSelected(); defaultFileCheckBox.setEnabled(enabled); fileOptionsInsertCheckBox.setEnabled(enabled); fileOptionsRenameCheckBox.setEnabled(enabled);