Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProActive
scheduling
Commits
78386edc
Commit
78386edc
authored
Jun 18, 2020
by
medou-boushab
Committed by
aminelouati
Jun 19, 2020
Browse files
Handle the case when the value of a resultMap entry is null
(cherry picked from commit
effdedf2
)
parent
d66b5223
Changes
1
Hide whitespace changes
Inline
Side-by-side
rest/rest-server/src/main/java/org/ow2/proactive_grid_cloud_portal/scheduler/SchedulerStateRest.java
View file @
78386edc
...
...
@@ -376,8 +376,8 @@ public class SchedulerStateRest implements SchedulerRestInterface {
}
return
source
.
entrySet
()
.
stream
()
.
filter
(
entry
->
e
ntry
.
get
Value
()
!=
null
)
.
collect
(
Collectors
.
toMap
(
E
ntry
:
:
get
Key
,
entry
->
entry
.
getValue
().
toString
()));
.
collect
(
Collectors
.
toMap
(
E
ntry
:
:
get
Key
,
entry
->
e
ntry
.
get
Value
()
!=
null
?
entry
.
getValue
().
toString
()
:
""
));
}
...
...
Write
Preview
Supports
Markdown
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