Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
EGA
ega-data-api
Commits
18d05130
Commit
18d05130
authored
Apr 13, 2021
by
anandmohan777
Browse files
Ignore duplicates when producing map using streams
parent
efab47ea
Pipeline
#146541
canceled with stages
in 1 minute and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ega-data-api-commons/src/main/java/eu/elixir/ega/ebi/commons/config/MyAccessTokenConverter.java
...elixir/ega/ebi/commons/config/MyAccessTokenConverter.java
+1
-1
No files found.
ega-data-api-commons/src/main/java/eu/elixir/ega/ebi/commons/config/MyAccessTokenConverter.java
View file @
18d05130
...
...
@@ -249,7 +249,7 @@ public class MyAccessTokenConverter implements AccessTokenConverter {
.
map
(
this
::
getDatasetId
)
.
filter
(
Optional:
:
isPresent
)
.
map
(
Optional:
:
get
)
.
collect
(
toMap
(
datasetId
->
datasetId
,
fileDatasetService:
:
getFileIds
));
.
collect
(
toMap
(
datasetId
->
datasetId
,
fileDatasetService:
:
getFileIds
,
(
d1
,
d2
)
->
d2
));
}
private
boolean
isValidToken
(
final
SignedJWT
signedJWT
)
{
...
...
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