✅ Add test for PageToadletFactory
[Sone.git] / src / main / java / net / pterodactylus / sone / web / page / PageToadletFactory.java
index e788039..719b74a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - PageToadletFactory.java - Copyright © 2010 David Roden
+ * Sone - PageToadletFactory.java - Copyright © 2010–2019 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -23,8 +23,6 @@ import freenet.client.HighLevelSimpleClient;
 /**
  * Factory that creates {@link PageToadlet}s using a given
  * {@link HighLevelSimpleClient}.
- * 
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 public class PageToadletFactory {
 
@@ -36,7 +34,7 @@ public class PageToadletFactory {
 
        /**
         * Creates a new {@link PageToadlet} factory.
-        * 
+        *
         * @param highLevelSimpleClient
         *            The client to use when creating the toadlets
         * @param pathPrefix
@@ -50,7 +48,7 @@ public class PageToadletFactory {
        /**
         * Creates a {@link PageToadlet} that wraps the given page and does not
         * appear in the node’s menu.
-        * 
+        *
         * @param page
         *            The page to wrap
         * @return The toadlet wrapped around the page
@@ -62,7 +60,7 @@ public class PageToadletFactory {
        /**
         * Creates a {@link PageToadlet} that wraps the given page and appears in
         * the node’s menu under the given name.
-        * 
+        *
         * @param page
         *            The page to wrap
         * @param menuName