whitespace fixups
[jSite2.git] / src / net / pterodactylus / jsite / gui / AboutDialog.java
index 153e4cf..8f79a52 100644 (file)
@@ -53,15 +53,14 @@ import net.pterodactylus.util.swing.SwingUtils;
 
 /**
  * An “about” dialog.
- * 
+ *
  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
- * @version $Id$
  */
 public class AboutDialog extends JDialog implements I18nable {
 
        /** A list of all contributors. */
        private static final List<Contributor> CONTRIBUTORS = new ArrayList<Contributor>();
-       
+
        /** A list of all code usages. */
        private static final List<CodeUsage> CODE_USAGES = new ArrayList<CodeUsage>();
 
@@ -84,7 +83,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
        /** The “other people’s code used” label. */
        private I18nLabel codeUsageLabel;
-       
+
        /** The license header. */
        private I18nLabel licenseHeaderLabel;
 
@@ -93,7 +92,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
        /**
         * Creates a new “about” dialog.
-        * 
+        *
         * @param swingInterface
         *            The Swing interface
         */
@@ -149,7 +148,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
        /**
         * Creates the “about” page.
-        * 
+        *
         * @return The “about” page
         */
        private JComponent createAboutPage() {
@@ -171,7 +170,7 @@ public class AboutDialog extends JDialog implements I18nable {
                textPanel.add(Box.createVerticalStrut(12));
                contributorsLabel.setFont(contributorsLabel.getFont().deriveFont(Font.BOLD));
 
-               for (Contributor contributor: CONTRIBUTORS) {
+               for (Contributor contributor : CONTRIBUTORS) {
                        JLabel contributorLabel = new JLabel(contributor.getName() + " <" + contributor.getEmail() + "> (" + contributor.getPart() + ")");
                        textPanel.add(contributorLabel);
                }
@@ -190,18 +189,18 @@ public class AboutDialog extends JDialog implements I18nable {
                codeUsageLabel.setFont(codeUsageLabel.getFont().deriveFont(Font.BOLD));
                textPanel.add(codeUsageLabel);
                textPanel.add(Box.createVerticalStrut(12));
-               
-               for (CodeUsage codeUsage: CODE_USAGES) {
+
+               for (CodeUsage codeUsage : CODE_USAGES) {
                        JLabel usageLabel = new JLabel(codeUsage.getName() + " (" + codeUsage.getURL() + ", " + codeUsage.getLicense() + ")");
                        textPanel.add(usageLabel);
                }
-               
+
                return aboutPanel;
        }
 
        /**
         * Creates the “license” page.
-        * 
+        *
         * @return The “license” page
         */
        private JComponent createLicensePage() {
@@ -226,7 +225,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
        /**
         * Loads the license text.
-        * 
+        *
         * @return The license text
         */
        private String loadLicenseText() {
@@ -284,9 +283,8 @@ public class AboutDialog extends JDialog implements I18nable {
 
        /**
         * Container for a contributor.
-        * 
+        *
         * @author David ‘Bombe’ Roden &lt;bombe@freenetproject.org&gt;
-        * @version $Id$
         */
        private static class Contributor {
 
@@ -301,7 +299,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
                /**
                 * Creates a new contributor.
-                * 
+                *
                 * @param name
                 *            The name of the contributor
                 * @param email
@@ -317,7 +315,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
                /**
                 * Returns the name of the contributor.
-                * 
+                *
                 * @return The name of the contributor
                 */
                String getName() {
@@ -326,7 +324,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
                /**
                 * Returns the email address of the contributor.
-                * 
+                *
                 * @return The email address of the contributor
                 */
                String getEmail() {
@@ -335,7 +333,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
                /**
                 * Returns the parts where the contributor helped.
-                * 
+                *
                 * @return The parts where the contributor helped
                 */
                String getPart() {
@@ -347,7 +345,7 @@ public class AboutDialog extends JDialog implements I18nable {
        /**
         * A code usage object describes code or other resources that have been
         * taken from other projects.
-        * 
+        *
         * @author David ‘Bombe’ Roden &lt;bombe@freenetproject.org&gt;
         */
        private static class CodeUsage {
@@ -366,7 +364,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
                /**
                 * Creates a new code usage object.
-                * 
+                *
                 * @param name
                 *            The name of the project
                 * @param url
@@ -385,7 +383,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
                /**
                 * Returns the name of the project.
-                * 
+                *
                 * @return The name of the project
                 */
                public String getName() {
@@ -394,7 +392,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
                /**
                 * Returns the URL of the project.
-                * 
+                *
                 * @return The URL of the project
                 */
                public String getURL() {
@@ -403,7 +401,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
                /**
                 * Returns the license of the used part.
-                * 
+                *
                 * @return The license of the used part
                 */
                public String getLicense() {
@@ -412,7 +410,7 @@ public class AboutDialog extends JDialog implements I18nable {
 
                /**
                 * Returns the used part.
-                * 
+                *
                 * @return The used part
                 */
                public String getPart() {