Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadCommandSystem
Commits
5118c355
Commit
5118c355
authored
Aug 24, 2020
by
helene ortiz
Browse files
Back-pedaling: rather than adding a parameter to getFileContent, I add a
second method
parent
61406a53
Changes
2
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
5118c355
...
...
@@ -61,7 +61,7 @@
<dependency>
<groupId>
fr.ill.ics
</groupId>
<artifactId>
nomadcommandsystem-messages
</artifactId>
<version>
0.0.1
4
</version>
<version>
0.0.1
6
</version>
</dependency>
<dependency>
<groupId>
fr.ill.ics
</groupId>
...
...
src/main/java/fr/ill/ics/nscclient/command/CommandZoneAccessor.java
View file @
5118c355
...
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment