Remove some @Override annotations that clash with Java 1.5’s compiler.
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 21 Jan 2010 09:43:18 +0000 (10:43 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 21 Jan 2010 09:43:18 +0000 (10:43 +0100)
src/de/todesbaum/jsite/application/KeyDialog.java
src/de/todesbaum/jsite/gui/PreferencesPage.java
src/de/todesbaum/jsite/main/Main.java

index ffe70a3..536f8c6 100644 (file)
@@ -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"));
index 2513582..44c448b 100644 (file)
@@ -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("<html><b>" + I18n.getMessage("jsite.preferences.temp-directory") + "</b></html>");
                        }
index f74da36..38a2347 100644 (file)
@@ -221,7 +221,6 @@ public class Main implements ActionListener, ListSelectionListener, WizardListen
                        /**
                         * {@inheritDoc}
                         */
-                       @Override
                        @SuppressWarnings("synthetic-access")
                        public void actionPerformed(ActionEvent actionEvent) {
                                optionsPreferences();