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
effdedf2
Commit
effdedf2
authored
Jun 18, 2020
by
medou-boushab
Browse files
Handle the case when the value of a resultMap entry is null
parent
51f8ca32
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 @
effdedf2
...
...
@@ -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
()
:
""
));
}
...
...
Git Mirror User
@gitmirror
mentioned in commit
78386edc
·
Jun 19, 2020
mentioned in commit
78386edc
mentioned in commit 78386edc9751e00c0da7d419a8434b9524a1daf0
Toggle commit list
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