From 45153cb94d13f27f9ffc1e3cc9eff870054c201b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 21 Jan 2010 10:43:18 +0100 Subject: [PATCH] =?utf8?q?Remove=20some=20@Override=20annotations=20that?= =?utf8?q?=20clash=20with=20Java=201.5=E2=80=99s=20compiler.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/de/todesbaum/jsite/application/KeyDialog.java | 4 ---- src/de/todesbaum/jsite/gui/PreferencesPage.java | 6 ------ src/de/todesbaum/jsite/main/Main.java | 1 - 3 files changed, 11 deletions(-) diff --git a/src/de/todesbaum/jsite/application/KeyDialog.java b/src/de/todesbaum/jsite/application/KeyDialog.java index ffe70a3..536f8c6 100644 --- a/src/de/todesbaum/jsite/application/KeyDialog.java +++ b/src/de/todesbaum/jsite/application/KeyDialog.java @@ -185,7 +185,6 @@ public class KeyDialog extends JDialog { private void createActions() { okAction = new AbstractAction(I18n.getMessage("jsite.general.ok")) { - @Override @SuppressWarnings("synthetic-access") public void actionPerformed(ActionEvent actionEvent) { actionOk(); @@ -196,7 +195,6 @@ public class KeyDialog extends JDialog { cancelAction = new AbstractAction(I18n.getMessage("jsite.general.cancel")) { - @Override @SuppressWarnings("synthetic-access") public void actionPerformed(ActionEvent actionEvent) { actionCancel(); @@ -207,7 +205,6 @@ public class KeyDialog extends JDialog { generateAction = new AbstractAction(I18n.getMessage("jsite.key-dialog.button.generate")) { - @Override @SuppressWarnings("synthetic-access") public void actionPerformed(ActionEvent actionEvent) { actionGenerate(); @@ -264,7 +261,6 @@ public class KeyDialog extends JDialog { I18nContainer.getInstance().registerRunnable(new Runnable() { - @Override public void run() { keysLabel.setText(I18n.getMessage("jsite.key-dialog.label.keys")); privateKeyLabel.setText(I18n.getMessage("jsite.key-dialog.label.private-key")); diff --git a/src/de/todesbaum/jsite/gui/PreferencesPage.java b/src/de/todesbaum/jsite/gui/PreferencesPage.java index 2513582..44c448b 100644 --- a/src/de/todesbaum/jsite/gui/PreferencesPage.java +++ b/src/de/todesbaum/jsite/gui/PreferencesPage.java @@ -84,7 +84,6 @@ public class PreferencesPage extends TWizardPage { /** * {@inheritDoc} */ - @Override public void run() { setHeading(I18n.getMessage("jsite.preferences.heading")); setDescription(I18n.getMessage("jsite.preferences.description")); @@ -146,7 +145,6 @@ public class PreferencesPage extends TWizardPage { /** * {@inheritDoc} */ - @Override @SuppressWarnings("synthetic-access") public void actionPerformed(ActionEvent actionEvent) { selectDefaultTempDirectory(); @@ -157,7 +155,6 @@ public class PreferencesPage extends TWizardPage { /** * {@inheritDoc} */ - @Override @SuppressWarnings("synthetic-access") public void actionPerformed(ActionEvent actionEvent) { selectCustomTempDirectory(); @@ -165,7 +162,6 @@ public class PreferencesPage extends TWizardPage { }; chooseTempDirectoryAction = new AbstractAction(I18n.getMessage("jsite.preferences.temp-directory.choose")) { - @Override @SuppressWarnings("synthetic-access") public void actionPerformed(ActionEvent e) { chooseTempDirectory(); @@ -174,7 +170,6 @@ public class PreferencesPage extends TWizardPage { I18nContainer.getInstance().registerRunnable(new Runnable() { - @Override @SuppressWarnings("synthetic-access") public void run() { selectDefaultTempDirectoryAction.putValue(Action.NAME, I18n.getMessage("jsite.preferences.temp-directory.default")); @@ -227,7 +222,6 @@ public class PreferencesPage extends TWizardPage { /** * {@inheritDoc} */ - @Override public void run() { tempDirectoryLabel.setText("" + I18n.getMessage("jsite.preferences.temp-directory") + ""); } diff --git a/src/de/todesbaum/jsite/main/Main.java b/src/de/todesbaum/jsite/main/Main.java index f74da36..38a2347 100644 --- a/src/de/todesbaum/jsite/main/Main.java +++ b/src/de/todesbaum/jsite/main/Main.java @@ -221,7 +221,6 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen /** * {@inheritDoc} */ - @Override @SuppressWarnings("synthetic-access") public void actionPerformed(ActionEvent actionEvent) { optionsPreferences(); -- 2.7.4