Commit 5118c355 authored by helene ortiz's avatar helene ortiz
Browse files

Back-pedaling: rather than adding a parameter to getFileContent, I add a

second method
parent 61406a53
......@@ -61,7 +61,7 @@
<dependency>
<groupId>fr.ill.ics</groupId>
<artifactId>nomadcommandsystem-messages</artifactId>
<version>0.0.14</version>
<version>0.0.16</version>
</dependency>
<dependency>
<groupId>fr.ill.ics</groupId>
......
......@@ -3214,7 +3214,7 @@ public class CommandZoneAccessor {
}
public synchronized String getFileContent(String fileName, boolean addServerHome) throws ResourceNotFoundException {
public synchronized String getFileContent(String fileName) throws ResourceNotFoundException {
// Create the message type.
CommandZoneRequests.Message type = CommandZoneRequests.Message.newBuilder()
......@@ -3223,7 +3223,6 @@ public class CommandZoneAccessor {
// Create the request.
CommandZoneRequests.GetFileContentRequest request = CommandZoneRequests.GetFileContentRequest.newBuilder()
.setFileName(fileName)
.setAddServerHome(addServerHome)
.build();
commandBoxRequester.sendTwoParts(type.toByteArray(), request.toByteArray());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment