From cf127faffabd3f07b0acc6de9ea746059d571b56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 25 May 2008 13:10:06 +0200 Subject: [PATCH] remove Id keyword whitespace fixed reformatting --- src/net/pterodactylus/jsite/core/BackendException.java | 1 - src/net/pterodactylus/jsite/core/Core.java | 1 - src/net/pterodactylus/jsite/core/CoreImpl.java | 14 +++++++------- src/net/pterodactylus/jsite/core/CoreListener.java | 1 - src/net/pterodactylus/jsite/core/JSiteException.java | 1 - src/net/pterodactylus/jsite/core/NoNodeException.java | 1 - src/net/pterodactylus/jsite/core/Node.java | 1 - src/net/pterodactylus/jsite/core/NodeListener.java | 1 - src/net/pterodactylus/jsite/core/NodeManager.java | 1 - src/net/pterodactylus/jsite/core/ProjectLifetime.java | 1 - src/net/pterodactylus/jsite/core/Request.java | 2 -- src/net/pterodactylus/jsite/core/RequestListener.java | 1 - src/net/pterodactylus/jsite/core/RequestManager.java | 1 - src/net/pterodactylus/jsite/core/Verifier.java | 9 ++++----- src/net/pterodactylus/jsite/gui/AboutDialog.java | 10 ++++------ src/net/pterodactylus/jsite/gui/ConfigurationDialog.java | 2 -- src/net/pterodactylus/jsite/gui/EditNodeDialog.java | 1 - src/net/pterodactylus/jsite/gui/FixedJMenuItem.java | 1 - src/net/pterodactylus/jsite/gui/FontComboBox.java | 2 -- src/net/pterodactylus/jsite/gui/LogWindow.java | 2 -- src/net/pterodactylus/jsite/gui/MainWindow.java | 1 - src/net/pterodactylus/jsite/gui/ProjectPanel.java | 1 - src/net/pterodactylus/jsite/i18n/I18n.java | 1 - src/net/pterodactylus/jsite/i18n/I18nable.java | 1 - src/net/pterodactylus/jsite/i18n/gui/I18nAction.java | 2 +- src/net/pterodactylus/jsite/i18n/gui/I18nLabel.java | 11 +++++------ src/net/pterodactylus/jsite/i18n/gui/I18nMenu.java | 1 - src/net/pterodactylus/jsite/main/Main.java | 1 - src/net/pterodactylus/jsite/main/Version.java | 1 - src/net/pterodactylus/jsite/project/AbstractEntry.java | 1 - src/net/pterodactylus/jsite/project/Entry.java | 1 - src/net/pterodactylus/jsite/project/PhysicalEntry.java | 1 - src/net/pterodactylus/jsite/project/Project.java | 1 - src/net/pterodactylus/jsite/project/ProjectManager.java | 3 +-- src/net/pterodactylus/jsite/project/RedirectEntry.java | 1 - src/net/pterodactylus/util/beans/AbstractBean.java | 1 - src/net/pterodactylus/util/image/IconLoader.java | 1 - src/net/pterodactylus/util/io/Closer.java | 1 - src/net/pterodactylus/util/io/LimitedInputStream.java | 16 ++++++---------- src/net/pterodactylus/util/io/MimeTypes.java | 1 - src/net/pterodactylus/util/io/StreamCopier.java | 1 - src/net/pterodactylus/util/logging/Logging.java | 4 ++-- src/net/pterodactylus/util/logging/LoggingListener.java | 1 - src/net/pterodactylus/util/number/Hex.java | 1 - src/net/pterodactylus/util/swing/StatusBar.java | 1 - src/net/pterodactylus/util/swing/SwingUtils.java | 1 - 46 files changed, 30 insertions(+), 81 deletions(-) diff --git a/src/net/pterodactylus/jsite/core/BackendException.java b/src/net/pterodactylus/jsite/core/BackendException.java index 1c4d2a6..d0e3e58 100644 --- a/src/net/pterodactylus/jsite/core/BackendException.java +++ b/src/net/pterodactylus/jsite/core/BackendException.java @@ -23,7 +23,6 @@ package net.pterodactylus.jsite.core; * Exception that is thrown when there is a problem with the FCP backend. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class BackendException extends JSiteException { diff --git a/src/net/pterodactylus/jsite/core/Core.java b/src/net/pterodactylus/jsite/core/Core.java index b84c786..4909b4d 100644 --- a/src/net/pterodactylus/jsite/core/Core.java +++ b/src/net/pterodactylus/jsite/core/Core.java @@ -29,7 +29,6 @@ import net.pterodactylus.jsite.project.Project; * Interface for the core. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public interface Core { diff --git a/src/net/pterodactylus/jsite/core/CoreImpl.java b/src/net/pterodactylus/jsite/core/CoreImpl.java index 15f217d..d0e78b9 100644 --- a/src/net/pterodactylus/jsite/core/CoreImpl.java +++ b/src/net/pterodactylus/jsite/core/CoreImpl.java @@ -31,7 +31,6 @@ import net.pterodactylus.jsite.project.ProjectManager; * The core of jSite. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class CoreImpl implements Core, NodeListener, RequestListener { @@ -504,17 +503,18 @@ public class CoreImpl implements Core, NodeListener, RequestListener { } /** - * @see net.pterodactylus.jsite.core.RequestListener#requestGeneratedURI(net.pterodactylus.jsite.core.Request, java.lang.String) + * @see net.pterodactylus.jsite.core.RequestListener#requestGeneratedURI(net.pterodactylus.jsite.core.Request, + * java.lang.String) */ public void requestGeneratedURI(Request request, String uri) { /* TODO - find project and process request */ } - + /** - * @see net.pterodactylus.jsite.core.RequestListener#requestFinished(net.pterodactylus.jsite.core.Request) - */ - public void requestFinished(Request request) { + * @see net.pterodactylus.jsite.core.RequestListener#requestFinished(net.pterodactylus.jsite.core.Request) + */ + public void requestFinished(Request request) { /* TODO - find project and process request */ - } + } } diff --git a/src/net/pterodactylus/jsite/core/CoreListener.java b/src/net/pterodactylus/jsite/core/CoreListener.java index e2d4946..d4a522e 100644 --- a/src/net/pterodactylus/jsite/core/CoreListener.java +++ b/src/net/pterodactylus/jsite/core/CoreListener.java @@ -25,7 +25,6 @@ import net.pterodactylus.jsite.project.Project; * Interface definition for user interfaces. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public interface CoreListener { diff --git a/src/net/pterodactylus/jsite/core/JSiteException.java b/src/net/pterodactylus/jsite/core/JSiteException.java index 39afcf2..4f54032 100644 --- a/src/net/pterodactylus/jsite/core/JSiteException.java +++ b/src/net/pterodactylus/jsite/core/JSiteException.java @@ -23,7 +23,6 @@ package net.pterodactylus.jsite.core; * Base exception for all jSite-specific exceptions. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class JSiteException extends Exception { diff --git a/src/net/pterodactylus/jsite/core/NoNodeException.java b/src/net/pterodactylus/jsite/core/NoNodeException.java index b210576..0fa573e 100644 --- a/src/net/pterodactylus/jsite/core/NoNodeException.java +++ b/src/net/pterodactylus/jsite/core/NoNodeException.java @@ -25,7 +25,6 @@ package net.pterodactylus.jsite.core; * * @see NodeManager#generateKeyPair() * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class NoNodeException extends JSiteException { diff --git a/src/net/pterodactylus/jsite/core/Node.java b/src/net/pterodactylus/jsite/core/Node.java index b7bf637..183a916 100644 --- a/src/net/pterodactylus/jsite/core/Node.java +++ b/src/net/pterodactylus/jsite/core/Node.java @@ -28,7 +28,6 @@ import net.pterodactylus.util.beans.AbstractBean; * {@link PropertyChangeListener}s if any of the contained properties change. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Node extends AbstractBean { diff --git a/src/net/pterodactylus/jsite/core/NodeListener.java b/src/net/pterodactylus/jsite/core/NodeListener.java index 615fbbe..1198969 100644 --- a/src/net/pterodactylus/jsite/core/NodeListener.java +++ b/src/net/pterodactylus/jsite/core/NodeListener.java @@ -25,7 +25,6 @@ import java.util.EventListener; * Interface for listeners that want to be notified about node events. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public interface NodeListener extends EventListener { diff --git a/src/net/pterodactylus/jsite/core/NodeManager.java b/src/net/pterodactylus/jsite/core/NodeManager.java index ba71708..d81416b 100644 --- a/src/net/pterodactylus/jsite/core/NodeManager.java +++ b/src/net/pterodactylus/jsite/core/NodeManager.java @@ -49,7 +49,6 @@ import net.pterodactylus.util.logging.Logging; * TODO * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class NodeManager implements Iterable, PropertyChangeListener, HighLevelClientListener { diff --git a/src/net/pterodactylus/jsite/core/ProjectLifetime.java b/src/net/pterodactylus/jsite/core/ProjectLifetime.java index 02167c5..abad60a 100644 --- a/src/net/pterodactylus/jsite/core/ProjectLifetime.java +++ b/src/net/pterodactylus/jsite/core/ProjectLifetime.java @@ -23,7 +23,6 @@ package net.pterodactylus.jsite.core; * Lifetime statistics of a project. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class ProjectLifetime { diff --git a/src/net/pterodactylus/jsite/core/Request.java b/src/net/pterodactylus/jsite/core/Request.java index 702e135..2c79856 100644 --- a/src/net/pterodactylus/jsite/core/Request.java +++ b/src/net/pterodactylus/jsite/core/Request.java @@ -25,7 +25,6 @@ import net.pterodactylus.util.beans.AbstractBean; * A request is an ongoing download or upload reported by the freenet node. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Request extends AbstractBean { @@ -33,7 +32,6 @@ public class Request extends AbstractBean { * The type of a request. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public enum Type { diff --git a/src/net/pterodactylus/jsite/core/RequestListener.java b/src/net/pterodactylus/jsite/core/RequestListener.java index b7ba758..5ebdc09 100644 --- a/src/net/pterodactylus/jsite/core/RequestListener.java +++ b/src/net/pterodactylus/jsite/core/RequestListener.java @@ -25,7 +25,6 @@ import java.util.EventListener; * Interface for objects that want to be notified on request events. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public interface RequestListener extends EventListener { diff --git a/src/net/pterodactylus/jsite/core/RequestManager.java b/src/net/pterodactylus/jsite/core/RequestManager.java index 8f73b8d..b101bf7 100644 --- a/src/net/pterodactylus/jsite/core/RequestManager.java +++ b/src/net/pterodactylus/jsite/core/RequestManager.java @@ -49,7 +49,6 @@ import net.pterodactylus.util.logging.Logging; * node is disconnected. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class RequestManager implements NodeListener, HighLevelProgressListener { diff --git a/src/net/pterodactylus/jsite/core/Verifier.java b/src/net/pterodactylus/jsite/core/Verifier.java index ec9d348..fc1b32d 100644 --- a/src/net/pterodactylus/jsite/core/Verifier.java +++ b/src/net/pterodactylus/jsite/core/Verifier.java @@ -24,15 +24,14 @@ import java.net.UnknownHostException; /** * Contains verifier for various settings. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Verifier { /** * Checks whether the given name is a valid node name. - * + * * @param name * The name to verify * @return true if the name is okay, false if @@ -44,7 +43,7 @@ public class Verifier { /** * Verifies the given hostname by trying to resolve it. - * + * * @param hostname * The hostname to verify * @return true if the hostname is not empty and can be @@ -65,7 +64,7 @@ public class Verifier { /** * Verifies that the port number is numeric and in the range from * 0 to 65535. - * + * * @param portString * The port number string * @return true if the port number is okay, diff --git a/src/net/pterodactylus/jsite/gui/AboutDialog.java b/src/net/pterodactylus/jsite/gui/AboutDialog.java index 153e4cf..26b9705 100644 --- a/src/net/pterodactylus/jsite/gui/AboutDialog.java +++ b/src/net/pterodactylus/jsite/gui/AboutDialog.java @@ -55,13 +55,12 @@ 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 CONTRIBUTORS = new ArrayList(); - + /** A list of all code usages. */ private static final List CODE_USAGES = new ArrayList(); @@ -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; @@ -190,12 +189,12 @@ 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) { JLabel usageLabel = new JLabel(codeUsage.getName() + " (" + codeUsage.getURL() + ", " + codeUsage.getLicense() + ")"); textPanel.add(usageLabel); } - + return aboutPanel; } @@ -286,7 +285,6 @@ public class AboutDialog extends JDialog implements I18nable { * Container for a contributor. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ private static class Contributor { diff --git a/src/net/pterodactylus/jsite/gui/ConfigurationDialog.java b/src/net/pterodactylus/jsite/gui/ConfigurationDialog.java index 5df9f8e..a8d212c 100644 --- a/src/net/pterodactylus/jsite/gui/ConfigurationDialog.java +++ b/src/net/pterodactylus/jsite/gui/ConfigurationDialog.java @@ -40,7 +40,6 @@ import net.pterodactylus.util.swing.SwingUtils; * The configuration dialog. * * @author David Roden - * @version $Id$ */ public class ConfigurationDialog extends JDialog implements I18nable { @@ -505,7 +504,6 @@ public class ConfigurationDialog extends JDialog implements I18nable { * Wrapper around class name and name of a {@link LookAndFeel}. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ private static class LookAndFeelWrapper { diff --git a/src/net/pterodactylus/jsite/gui/EditNodeDialog.java b/src/net/pterodactylus/jsite/gui/EditNodeDialog.java index bbb5224..5eecc98 100644 --- a/src/net/pterodactylus/jsite/gui/EditNodeDialog.java +++ b/src/net/pterodactylus/jsite/gui/EditNodeDialog.java @@ -47,7 +47,6 @@ import net.pterodactylus.util.swing.SwingUtils; * Dialog that lets the user edit the properties of a node. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class EditNodeDialog extends JDialog implements I18nable { diff --git a/src/net/pterodactylus/jsite/gui/FixedJMenuItem.java b/src/net/pterodactylus/jsite/gui/FixedJMenuItem.java index f38097b..92cafb4 100644 --- a/src/net/pterodactylus/jsite/gui/FixedJMenuItem.java +++ b/src/net/pterodactylus/jsite/gui/FixedJMenuItem.java @@ -34,7 +34,6 @@ import javax.swing.KeyStroke; * #4304129). * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class FixedJMenuItem extends JMenuItem { diff --git a/src/net/pterodactylus/jsite/gui/FontComboBox.java b/src/net/pterodactylus/jsite/gui/FontComboBox.java index 02ec429..12805fc 100644 --- a/src/net/pterodactylus/jsite/gui/FontComboBox.java +++ b/src/net/pterodactylus/jsite/gui/FontComboBox.java @@ -35,7 +35,6 @@ import javax.swing.ListCellRenderer; * * @see GraphicsEnvironment#getAllFonts() * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class FontComboBox extends JComboBox { @@ -65,7 +64,6 @@ public class FontComboBox extends JComboBox { * The cell renderer for the font name cells. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ private static class FontCellRenderer extends JLabel implements ListCellRenderer { diff --git a/src/net/pterodactylus/jsite/gui/LogWindow.java b/src/net/pterodactylus/jsite/gui/LogWindow.java index c203664..23660d7 100644 --- a/src/net/pterodactylus/jsite/gui/LogWindow.java +++ b/src/net/pterodactylus/jsite/gui/LogWindow.java @@ -53,7 +53,6 @@ import net.pterodactylus.util.swing.SwingUtils; * Frame that shows log messages as they occur. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class LogWindow extends JFrame implements LoggingListener, ActionListener { @@ -155,7 +154,6 @@ public class LogWindow extends JFrame implements LoggingListener, ActionListener * Table model for the log message table. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ private class LogRecordTableModel extends AbstractTableModel { diff --git a/src/net/pterodactylus/jsite/gui/MainWindow.java b/src/net/pterodactylus/jsite/gui/MainWindow.java index 2e04224..d09c352 100644 --- a/src/net/pterodactylus/jsite/gui/MainWindow.java +++ b/src/net/pterodactylus/jsite/gui/MainWindow.java @@ -63,7 +63,6 @@ import net.pterodactylus.util.swing.SwingUtils; * Defines the main window of the application. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class MainWindow extends JFrame implements WindowListener, I18nable, PropertyChangeListener { diff --git a/src/net/pterodactylus/jsite/gui/ProjectPanel.java b/src/net/pterodactylus/jsite/gui/ProjectPanel.java index cf53482..5dac869 100644 --- a/src/net/pterodactylus/jsite/gui/ProjectPanel.java +++ b/src/net/pterodactylus/jsite/gui/ProjectPanel.java @@ -51,7 +51,6 @@ import net.pterodactylus.util.logging.Logging; * the properties of the project. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class ProjectPanel extends JPanel implements DocumentListener, I18nable { diff --git a/src/net/pterodactylus/jsite/i18n/I18n.java b/src/net/pterodactylus/jsite/i18n/I18n.java index 6d62356..8223a0b 100644 --- a/src/net/pterodactylus/jsite/i18n/I18n.java +++ b/src/net/pterodactylus/jsite/i18n/I18n.java @@ -43,7 +43,6 @@ import net.pterodactylus.util.logging.Logging; * Class that handles i18n. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class I18n { diff --git a/src/net/pterodactylus/jsite/i18n/I18nable.java b/src/net/pterodactylus/jsite/i18n/I18nable.java index 00e05fe..efb3f6b 100644 --- a/src/net/pterodactylus/jsite/i18n/I18nable.java +++ b/src/net/pterodactylus/jsite/i18n/I18nable.java @@ -23,7 +23,6 @@ package net.pterodactylus.jsite.i18n; * Interface for objects that want to be notified when the language is changed. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public interface I18nable { diff --git a/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java b/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java index 07860fe..8904368 100644 --- a/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java +++ b/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java @@ -1,3 +1,4 @@ + package net.pterodactylus.jsite.i18n.gui; import javax.swing.AbstractAction; @@ -11,7 +12,6 @@ import net.pterodactylus.jsite.i18n.I18nable; * Helper class that initializes actions with values from {@link I18n}. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public abstract class I18nAction extends AbstractAction implements I18nable { diff --git a/src/net/pterodactylus/jsite/i18n/gui/I18nLabel.java b/src/net/pterodactylus/jsite/i18n/gui/I18nLabel.java index ac56926..e7c772b 100644 --- a/src/net/pterodactylus/jsite/i18n/gui/I18nLabel.java +++ b/src/net/pterodactylus/jsite/i18n/gui/I18nLabel.java @@ -28,9 +28,8 @@ import net.pterodactylus.jsite.i18n.I18nable; /** * Label that can update itself from {@link I18n}. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class I18nLabel extends JLabel implements I18nable { @@ -42,7 +41,7 @@ public class I18nLabel extends JLabel implements I18nable { /** * Creates a new label with the given I18n basename. - * + * * @param i18nBasename * The I18n basename of the label */ @@ -53,7 +52,7 @@ public class I18nLabel extends JLabel implements I18nable { /** * Creates a new label with the given I18n basename that optionally is a * label for the given component. - * + * * @param i18nBasename * The I18n basename of the label * @param component @@ -68,7 +67,7 @@ public class I18nLabel extends JLabel implements I18nable { /** * Creates a new label with the given I18n basename that optionally is a * label for the given component. - * + * * @param i18nBasename * The I18n basename of the label * @param arguments @@ -82,7 +81,7 @@ public class I18nLabel extends JLabel implements I18nable { /** * Creates a new label with the given I18n basename that optionally is a * label for the given component. - * + * * @param i18nBasename * The I18n basename of the label * @param component diff --git a/src/net/pterodactylus/jsite/i18n/gui/I18nMenu.java b/src/net/pterodactylus/jsite/i18n/gui/I18nMenu.java index e94a27a..49a25cb 100644 --- a/src/net/pterodactylus/jsite/i18n/gui/I18nMenu.java +++ b/src/net/pterodactylus/jsite/i18n/gui/I18nMenu.java @@ -28,7 +28,6 @@ import net.pterodactylus.jsite.i18n.I18nable; * Menu that receives its properties from {@link I18n}. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class I18nMenu extends JMenu implements I18nable { diff --git a/src/net/pterodactylus/jsite/main/Main.java b/src/net/pterodactylus/jsite/main/Main.java index 329cbcf..2552260 100644 --- a/src/net/pterodactylus/jsite/main/Main.java +++ b/src/net/pterodactylus/jsite/main/Main.java @@ -38,7 +38,6 @@ import net.pterodactylus.util.logging.Logging; * Main class that is called by the VM. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Main { diff --git a/src/net/pterodactylus/jsite/main/Version.java b/src/net/pterodactylus/jsite/main/Version.java index 4148fc7..be38f6d 100644 --- a/src/net/pterodactylus/jsite/main/Version.java +++ b/src/net/pterodactylus/jsite/main/Version.java @@ -23,7 +23,6 @@ package net.pterodactylus.jsite.main; * Container for version information. * * @author David Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Version implements Comparable { diff --git a/src/net/pterodactylus/jsite/project/AbstractEntry.java b/src/net/pterodactylus/jsite/project/AbstractEntry.java index 6a726c6..5c3c3bd 100644 --- a/src/net/pterodactylus/jsite/project/AbstractEntry.java +++ b/src/net/pterodactylus/jsite/project/AbstractEntry.java @@ -25,7 +25,6 @@ import net.pterodactylus.util.beans.AbstractBean; * Abstract base implementation of a {@link Entry}. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public abstract class AbstractEntry extends AbstractBean implements Entry { diff --git a/src/net/pterodactylus/jsite/project/Entry.java b/src/net/pterodactylus/jsite/project/Entry.java index d16e6be..6164914 100644 --- a/src/net/pterodactylus/jsite/project/Entry.java +++ b/src/net/pterodactylus/jsite/project/Entry.java @@ -24,7 +24,6 @@ package net.pterodactylus.jsite.project; * (separated by a slash, ‘/’). * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public interface Entry { diff --git a/src/net/pterodactylus/jsite/project/PhysicalEntry.java b/src/net/pterodactylus/jsite/project/PhysicalEntry.java index 5f036a5..e56a8a1 100644 --- a/src/net/pterodactylus/jsite/project/PhysicalEntry.java +++ b/src/net/pterodactylus/jsite/project/PhysicalEntry.java @@ -23,7 +23,6 @@ package net.pterodactylus.jsite.project; * A physical file represents a file on the disk. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class PhysicalEntry extends AbstractEntry { diff --git a/src/net/pterodactylus/jsite/project/Project.java b/src/net/pterodactylus/jsite/project/Project.java index ab0b363..b6c514b 100644 --- a/src/net/pterodactylus/jsite/project/Project.java +++ b/src/net/pterodactylus/jsite/project/Project.java @@ -31,7 +31,6 @@ import net.pterodactylus.util.beans.AbstractBean; * {@link PropertyChangeListener}s if any of the contained properties change. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Project extends AbstractBean { diff --git a/src/net/pterodactylus/jsite/project/ProjectManager.java b/src/net/pterodactylus/jsite/project/ProjectManager.java index 5009b0d..616ea23 100644 --- a/src/net/pterodactylus/jsite/project/ProjectManager.java +++ b/src/net/pterodactylus/jsite/project/ProjectManager.java @@ -45,7 +45,6 @@ import net.pterodactylus.util.number.Hex; * things. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class ProjectManager implements PropertyChangeListener { @@ -139,7 +138,7 @@ public class ProjectManager implements PropertyChangeListener { String projectDescription = projectProperties.getProperty(projectPrefix + ".description"); String projectPrivateKey = projectProperties.getProperty(projectPrefix + ".privateKey"); String projectPublicKey = projectProperties.getProperty(projectPrefix + ".publicKey"); - String projectBasePath = projectProperties.getProperty(projectPrefix + ".basePath"); + String projectBasePath = projectProperties.getProperty(projectPrefix + ".basePath"); Project project = new Project(); project.setId(projectId); project.setName(projectName); diff --git a/src/net/pterodactylus/jsite/project/RedirectEntry.java b/src/net/pterodactylus/jsite/project/RedirectEntry.java index 2739897..36f7bd6 100644 --- a/src/net/pterodactylus/jsite/project/RedirectEntry.java +++ b/src/net/pterodactylus/jsite/project/RedirectEntry.java @@ -24,7 +24,6 @@ package net.pterodactylus.jsite.project; * another file on freenet. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class RedirectEntry extends AbstractEntry { diff --git a/src/net/pterodactylus/util/beans/AbstractBean.java b/src/net/pterodactylus/util/beans/AbstractBean.java index b586353..b2da732 100644 --- a/src/net/pterodactylus/util/beans/AbstractBean.java +++ b/src/net/pterodactylus/util/beans/AbstractBean.java @@ -29,7 +29,6 @@ import java.util.List; * Abstract bean super class that contains property change listener management. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public abstract class AbstractBean { diff --git a/src/net/pterodactylus/util/image/IconLoader.java b/src/net/pterodactylus/util/image/IconLoader.java index b738896..2804d08 100644 --- a/src/net/pterodactylus/util/image/IconLoader.java +++ b/src/net/pterodactylus/util/image/IconLoader.java @@ -27,7 +27,6 @@ import javax.swing.ImageIcon; * Loads an {@link Icon} from the class path. * * @author David Roden - * @version $Id$ */ public class IconLoader { diff --git a/src/net/pterodactylus/util/io/Closer.java b/src/net/pterodactylus/util/io/Closer.java index be679ee..6207c12 100644 --- a/src/net/pterodactylus/util/io/Closer.java +++ b/src/net/pterodactylus/util/io/Closer.java @@ -31,7 +31,6 @@ import java.util.zip.ZipFile; * try-catch-finally blocks. * * @author David ‘Roden’ <bombe@freenetproject.org> - * @version $Id$ */ public class Closer { diff --git a/src/net/pterodactylus/util/io/LimitedInputStream.java b/src/net/pterodactylus/util/io/LimitedInputStream.java index 284d53d..5224bde 100644 --- a/src/net/pterodactylus/util/io/LimitedInputStream.java +++ b/src/net/pterodactylus/util/io/LimitedInputStream.java @@ -1,6 +1,7 @@ /** * © 2008 INA Service GmbH */ + package net.pterodactylus.util.io; import java.io.FilterInputStream; @@ -12,7 +13,6 @@ import java.io.InputStream; * bytes from the underlying input stream. * * @author David Roden - * @version $Id$ */ public class LimitedInputStream extends FilterInputStream { @@ -76,7 +76,7 @@ public class LimitedInputStream extends FilterInputStream { */ @Override public synchronized long skip(long n) throws IOException { - if ((n < 0) || (remaining == 0)) { + if ((n < 0) || (remaining == 0)) { return 0; } long skipped = super.skip(Math.min(n, remaining)); @@ -85,10 +85,8 @@ public class LimitedInputStream extends FilterInputStream { } /** - * {@inheritDoc} - * - * This method does nothing, as {@link #mark(int)} and {@link #reset()} are - * not supported. + * {@inheritDoc} This method does nothing, as {@link #mark(int)} and + * {@link #reset()} are not supported. * * @see java.io.FilterInputStream#mark(int) */ @@ -109,10 +107,8 @@ public class LimitedInputStream extends FilterInputStream { } /** - * {@inheritDoc} - * - * This method does nothing, as {@link #mark(int)} and {@link #reset()} are - * not supported. + * {@inheritDoc} This method does nothing, as {@link #mark(int)} and + * {@link #reset()} are not supported. * * @see java.io.FilterInputStream#reset() */ diff --git a/src/net/pterodactylus/util/io/MimeTypes.java b/src/net/pterodactylus/util/io/MimeTypes.java index 387372a..b6ffff0 100644 --- a/src/net/pterodactylus/util/io/MimeTypes.java +++ b/src/net/pterodactylus/util/io/MimeTypes.java @@ -29,7 +29,6 @@ import java.util.Map; * Handles MIME types and maps them to file extensions. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class MimeTypes { diff --git a/src/net/pterodactylus/util/io/StreamCopier.java b/src/net/pterodactylus/util/io/StreamCopier.java index d1d0b11..f413744 100644 --- a/src/net/pterodactylus/util/io/StreamCopier.java +++ b/src/net/pterodactylus/util/io/StreamCopier.java @@ -29,7 +29,6 @@ import java.io.OutputStream; * {@link OutputStream}. * * @author David Roden - * @version $Id$ */ public class StreamCopier { diff --git a/src/net/pterodactylus/util/logging/Logging.java b/src/net/pterodactylus/util/logging/Logging.java index ef8bb6a..86a4a6f 100644 --- a/src/net/pterodactylus/util/logging/Logging.java +++ b/src/net/pterodactylus/util/logging/Logging.java @@ -36,7 +36,6 @@ import java.util.logging.Logger; * Sets up logging. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Logging { @@ -83,8 +82,10 @@ public class Logging { Handler consoleHandler = new ConsoleHandler(); consoleHandler.setLevel(Level.ALL); consoleHandler.setFormatter(new Formatter() { + private StringBuffer recordBuffer = new StringBuffer(); private DateFormat dateFormatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS Z"); + /** * {@inheritDoc} */ @@ -140,7 +141,6 @@ public class Logging { * * @see LoggingListener * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ private static class LogHandler extends Handler { diff --git a/src/net/pterodactylus/util/logging/LoggingListener.java b/src/net/pterodactylus/util/logging/LoggingListener.java index 788d848..0025c67 100644 --- a/src/net/pterodactylus/util/logging/LoggingListener.java +++ b/src/net/pterodactylus/util/logging/LoggingListener.java @@ -26,7 +26,6 @@ import java.util.logging.LogRecord; * Interface for components that want to received logged messages. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public interface LoggingListener extends EventListener { diff --git a/src/net/pterodactylus/util/number/Hex.java b/src/net/pterodactylus/util/number/Hex.java index 36cca06..09bf2b0 100644 --- a/src/net/pterodactylus/util/number/Hex.java +++ b/src/net/pterodactylus/util/number/Hex.java @@ -23,7 +23,6 @@ package net.pterodactylus.util.number; * Conversion routines for handling hexadecimal numbers. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class Hex { diff --git a/src/net/pterodactylus/util/swing/StatusBar.java b/src/net/pterodactylus/util/swing/StatusBar.java index f37b9d7..c0e844d 100644 --- a/src/net/pterodactylus/util/swing/StatusBar.java +++ b/src/net/pterodactylus/util/swing/StatusBar.java @@ -37,7 +37,6 @@ import javax.swing.border.EtchedBorder; * of a {@link JFrame}’s {@link JFrame#getContentPane() content pane}. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ /* TODO - make it possible to add further components. */ public class StatusBar extends JPanel { diff --git a/src/net/pterodactylus/util/swing/SwingUtils.java b/src/net/pterodactylus/util/swing/SwingUtils.java index 9c78727..b530044 100644 --- a/src/net/pterodactylus/util/swing/SwingUtils.java +++ b/src/net/pterodactylus/util/swing/SwingUtils.java @@ -29,7 +29,6 @@ import java.awt.Window; * Helper utilities for working with Swing. * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> - * @version $Id$ */ public class SwingUtils { -- 2.7.4