X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FClientPut.java;h=a9a37baf13f0989e1681165ef3f33991a2249fa7;hb=a30d521e1add957b2ddfee455bc6e061efbf44b7;hp=5176e6aa5a7fc6f5c0f30040742b3fb00850ef82;hpb=c1d2649e7e62f1c9b7d2889e13addee6e649df90;p=jFCPlib.git
diff --git a/src/main/java/net/pterodactylus/fcp/ClientPut.java b/src/main/java/net/pterodactylus/fcp/ClientPut.java
index 5176e6a..a9a37ba 100644
--- a/src/main/java/net/pterodactylus/fcp/ClientPut.java
+++ b/src/main/java/net/pterodactylus/fcp/ClientPut.java
@@ -1,9 +1,9 @@
/*
- * jFCPlib - ClientPut.java - Copyright © 2008 David Roden
+ * jFCPlib - ClientPut.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 .
*/
package net.pterodactylus.fcp;
@@ -55,8 +54,8 @@ public class ClientPut extends FcpMessage {
* test your direct-disk access (see {@link TestDDARequest},
* {@link TestDDAReply}, {@link TestDDAResponse}, {@link TestDDAComplete})
* before using this option! If uploadFrom
is
- * {@link UploadFrom#redirect}, use {@link #setTargetURI(String)} to set the
- * target URI of the redirect.
+ * {@link UploadFrom#redirect}, use {@link #setTargetURI(String)} to set
+ * the target URI of the redirect.
*
* @param uri
* The URI to insert to
@@ -117,8 +116,8 @@ public class ClientPut 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
* true
to generate the final CHK only,
@@ -132,8 +131,8 @@ public class ClientPut 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));
@@ -175,17 +174,17 @@ public class ClientPut extends FcpMessage {
* already been compressed.
*
* @param dontCompress
- * true
to skip compression of the data in the node,
- * false
to allow compression
+ * true
to skip compression of the data in the
+ * node, false
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