Update license to GPLv3, fix header comments
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / ClientPutDiskDir.java
index 6c78e84..018c909 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * jFCPlib - ClientPutDiskDir.java - Copyright © 2008 David Roden
+ * jFCPlib - ClientPutDiskDir.java - Copyright © 2008–2016 David Roden
  *
- * This program is free software; you can redistribute it and/or modify
+ * 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
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -12,8 +12,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 package net.pterodactylus.fcp;
@@ -78,8 +77,8 @@ public class ClientPutDiskDir extends FcpMessage {
        }
 
        /**
-        * Determines whether the node should really insert the data or generate the
-        * final CHK only.
+        * Determines whether the node should really insert the data or generate
+        * the final CHK only.
         *
         * @param getCHKOnly
         *            <code>true</code> to generate the final CHK only,
@@ -93,8 +92,8 @@ public class ClientPutDiskDir extends FcpMessage {
         * Sets whether an insert request should be forked when it is cached.
         *
         * @param forkOnCacheable
-        *            {@code true} to fork the insert when it is cached, {@code
-        *            false} otherwise
+        *            {@code true} to fork the insert when it is cached,
+        *            {@code false} otherwise
         */
        public void setForkOnCacheable(boolean forkOnCacheable) {
                setField("ForkOnCacheable", String.valueOf(forkOnCacheable));
@@ -136,17 +135,17 @@ public class ClientPutDiskDir extends FcpMessage {
         * already been compressed.
         *
         * @param dontCompress
-        *            <code>true</code> to skip compression of the data in the node,
-        *            <code>false</code> to allow compression
+        *            <code>true</code> to skip compression of the data in the
+        *            node, <code>false</code> to allow compression
         */
        public void setDontCompress(boolean dontCompress) {
                setField("DontCompress", String.valueOf(dontCompress));
        }
 
        /**
-        * Sets an optional client token. This client token is mentioned in progress
-        * and other request-related messages and can be used to identify this
-        * request.
+        * Sets an optional client token. This client token is mentioned in
+        * progress and other request-related messages and can be used to identify
+        * this request.
         *
         * @param clientToken
         *            The client token
@@ -166,8 +165,8 @@ public class ClientPutDiskDir extends FcpMessage {
        }
 
        /**
-        * Sets the name of the default file. The default file is shown when the key
-        * is requested with an additional name.
+        * Sets the name of the default file. The default file is shown when the
+        * key is requested with an additional name.
         *
         * @param defaultName
         *            The name of the default file