whitespace fixups
[jSite2.git] / src / net / pterodactylus / jsite / core / CoreListener.java
index 3dbc55e..4da2ec8 100644 (file)
 
 package net.pterodactylus.jsite.core;
 
-import net.pterodactylus.jsite.core.project.Project;
-
 /**
  * Interface definition for user interfaces.
- * 
+ *
  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
  */
 public interface CoreListener {
@@ -34,7 +32,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that loading the projects finished successfully.
-        * 
+        *
         * @param directory
         *            The directory the nodes were loaded from
         */
@@ -42,7 +40,7 @@ public interface CoreListener {
 
        /**
         * Notifies all listeners that loading the projects has failed.
-        * 
+        *
         * @param directory
         *            The directory the projects were tried to load from
         * @param throwable
@@ -53,7 +51,7 @@ public interface CoreListener {
        /**
         * Notifies a listener that the projects were successfully saved to the
         * given directory.
-        * 
+        *
         * @param directory
         *            The directory the projects were saved to
         */
@@ -61,7 +59,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that saving the projects has failed.
-        * 
+        *
         * @param directory
         *            The directory the projects were to be saved to
         * @param throwable
@@ -71,7 +69,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that the given project was added.
-        * 
+        *
         * @param project
         *            The project that was added.
         */
@@ -79,7 +77,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that a project was cloned.
-        * 
+        *
         * @param clonedProject
         *            The clones project
         * @param projectClone
@@ -89,7 +87,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that the given project was removed.
-        * 
+        *
         * @param project
         *            The project that was removed.
         */
@@ -101,7 +99,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that the nodes were successfully loaded.
-        * 
+        *
         * @param directory
         *            The directory the nodes were loaded from
         */
@@ -109,7 +107,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that loading the nodes has failed.
-        * 
+        *
         * @param directory
         *            The directory the nodes were loaded from
         * @param throwable
@@ -119,7 +117,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that the nodes were successfully saved.
-        * 
+        *
         * @param directory
         *            The directory the nodes were saved to
         */
@@ -127,7 +125,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that saving the nodes has failed.
-        * 
+        *
         * @param directory
         *            The directory the nodes were saved to
         * @param throwable
@@ -155,7 +153,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that a node was added to the core.
-        * 
+        *
         * @param node
         *            The node that was added.
         */
@@ -165,7 +163,7 @@ public interface CoreListener {
         * Notifies a listener that a node was removed from the core. Before a node
         * is removed, it will be disconnected (and
         * {@link #nodeDisconnected(Node, Throwable)} will be called).
-        * 
+        *
         * @param node
         *            The node that was removed
         */
@@ -175,7 +173,7 @@ public interface CoreListener {
         * Notifies all listeners that the core started connecting to the given
         * node. Before a node is connected, it will be added (and
         * {@link #nodeAdded(Node)} will be called).
-        * 
+        *
         * @param node
         *            The node that is being connected
         */
@@ -183,7 +181,7 @@ public interface CoreListener {
 
        /**
         * Notifies all listeners that the core connected to the given node.
-        * 
+        *
         * @param node
         *            The node that is connected
         */
@@ -191,7 +189,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that a connection to a node has failed.
-        * 
+        *
         * @param node
         *            The node that could not be connected
         * @param cause
@@ -201,7 +199,7 @@ public interface CoreListener {
 
        /**
         * Notifies all listeners that the core disconnected from the given node.
-        * 
+        *
         * @param node
         *            The node that was diconnected
         * @param throwable
@@ -216,7 +214,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that a project insert started.
-        * 
+        *
         * @param project
         *            The project that is now inserting
         */
@@ -224,7 +222,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that a project insert made progress.
-        * 
+        *
         * @param project
         *            The project that made progress
         * @param totalBlocks
@@ -246,7 +244,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that a project insert has generated a URI.
-        * 
+        *
         * @param project
         *            The project that generated a URI
         * @param uri
@@ -256,7 +254,7 @@ public interface CoreListener {
 
        /**
         * Notifies a listener that a project insert has finished.
-        * 
+        *
         * @param project
         *            The project that has finished
         * @param success