From 4a177438b3d26f7afe500ef385c6c0877995502f Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 17 Mar 2012 03:06:32 +0100 Subject: [PATCH] Return some unnecessary stuff. --- src/de/todesbaum/jsite/gui/ProjectFilesPage.java | 15 --------------- 1 file changed, 15 deletions(-) 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); -- 2.7.4