X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FTestDDAResponse.java;h=b508e049c642bedd22d3682ee79677f85c2a93dc;hb=52ddba35dcbe01d9c18d33814bab1dce85897d7e;hp=76660c5d711e38d893b065d20c1d19cc475ba6cc;hpb=508624458578f01a393f8b44f32b98b40054fdc8;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/TestDDAResponse.java b/src/main/java/net/pterodactylus/fcp/TestDDAResponse.java index 76660c5..b508e04 100644 --- a/src/main/java/net/pterodactylus/fcp/TestDDAResponse.java +++ b/src/main/java/net/pterodactylus/fcp/TestDDAResponse.java @@ -21,15 +21,16 @@ package net.pterodactylus.fcp; /** * A “TestDDAResponse” is sent to let the node know that either created a file * with the content from {@link TestDDAReply#getContentToWrite()} or that you - * read the content of the file given by {@link TestDDAReply#getReadFilename()}. + * read the content of the file given by {@link TestDDAReply#getReadFilename()} + * . * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public class TestDDAResponse extends FcpMessage { /** - * Creates a new “TestDDAResponse” message that signals that you created the - * file given by {@link TestDDAReply#getWriteFilename()} and wrote the + * Creates a new “TestDDAResponse” message that signals that you created + * the file given by {@link TestDDAReply#getWriteFilename()} and wrote the * contents given by {@link TestDDAReply#getContentToWrite()} to it. * * @param directory @@ -40,11 +41,11 @@ public class TestDDAResponse extends FcpMessage { } /** - * Creates a new “TestDDAResponse” message that signals that you created the - * file given by {@link TestDDAReply#getWriteFilename()} with the contents - * given by {@link TestDDAReply#getContentToWrite()} to it (when you - * specified that you want to write to the directory) and/or that you read - * the file given by {@link TestDDAReply#getReadFilename()} (when you + * Creates a new “TestDDAResponse” message that signals that you created + * the file given by {@link TestDDAReply#getWriteFilename()} with the + * contents given by {@link TestDDAReply#getContentToWrite()} to it (when + * you specified that you want to write to the directory) and/or that you + * read the file given by {@link TestDDAReply#getReadFilename()} (when you * specified you wanted to read the directory). * * @param directory @@ -55,6 +56,7 @@ public class TestDDAResponse extends FcpMessage { */ public TestDDAResponse(String directory, String readContent) { super("TestDDAResponse"); + setField("Directory", directory); if (readContent != null) { setField("ReadContent", readContent); }