whitespace fixups
[jSite2.git] / src / net / pterodactylus / jsite / i18n / gui / I18nAction.java
index d83cd7f..502ba69 100644 (file)
@@ -1,6 +1,5 @@
-package net.pterodactylus.jsite.i18n.gui;
 
-import java.awt.event.ActionListener;
+package net.pterodactylus.jsite.i18n.gui;
 
 import javax.swing.AbstractAction;
 import javax.swing.Action;
@@ -11,10 +10,10 @@ import net.pterodactylus.jsite.i18n.I18nable;
 
 /**
  * Helper class that initializes actions with values from {@link I18n}.
- * 
+ *
  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
  */
-public abstract class I18nAction extends AbstractAction implements I18nable, ActionListener {
+public abstract class I18nAction extends AbstractAction implements I18nable {
 
        /** The I18n basename. */
        private final String i18nName;
@@ -22,7 +21,7 @@ public abstract class I18nAction extends AbstractAction implements I18nable, Act
        /**
         * Creates a new action that uses the given name as base name to get values
         * from {@link I18n}.
-        * 
+        *
         * @param i18nName
         *            The base name of the action
         */
@@ -33,7 +32,7 @@ public abstract class I18nAction extends AbstractAction implements I18nable, Act
        /**
         * Creates a new action that uses the given name as base name to get values
         * from {@link I18n} and the given icon.
-        * 
+        *
         * @param i18nName
         *            The base name of the action
         * @param icon
@@ -46,7 +45,7 @@ public abstract class I18nAction extends AbstractAction implements I18nable, Act
        /**
         * Creates a new action that uses the given name as base name to get values
         * from {@link I18n}.
-        * 
+        *
         * @param i18nName
         *            The base name of the action
         * @param enabled
@@ -59,7 +58,7 @@ public abstract class I18nAction extends AbstractAction implements I18nable, Act
        /**
         * Creates a new action that uses the given name as base name to get values
         * from {@link I18n} and the given icon.
-        * 
+        *
         * @param i18nName
         *            The base name of the action
         * @param enabled
@@ -87,4 +86,4 @@ public abstract class I18nAction extends AbstractAction implements I18nable, Act
                putValue(Action.LONG_DESCRIPTION, I18n.get(i18nName + ".longDescription"));
        }
 
-}
+}
\ No newline at end of file