Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-03-06 11:56:40 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5caacaa4b72ffd71c0743fa46466691272d69ff5
5caacaa4
1 parent
ca1a12b0
Simplification
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/main/java/org/legrog/web/account/AccountServiceDefault.java
src/main/java/org/legrog/web/publisher/PublisherServiceDefault.java
src/main/java/org/legrog/web/account/AccountServiceDefault.java
View file @
5caacaa
...
...
@@ -56,7 +56,7 @@ public class AccountServiceDefault implements AccountService {
List
<
Integer
>
integers
=
new
ArrayList
<>(
indexedAccounts
.
size
());
indexedAccounts
.
forEach
(
indexedAccount
->
integers
.
add
(
indexedAccount
.
getUserId
()));
if
(
integers
.
size
()
>
0
)
{
if
(
!
integers
.
isEmpty
()
)
{
return
accountRepository
.
findByUserIdIn
(
integers
);
}
...
...
src/main/java/org/legrog/web/publisher/PublisherServiceDefault.java
View file @
5caacaa
...
...
@@ -146,7 +146,7 @@ public class PublisherServiceDefault implements PublisherService {
List
<
Integer
>
integers
=
new
ArrayList
<>(
indexedPublishers
.
size
());
indexedPublishers
.
forEach
(
indexedPublisher
->
integers
.
add
(
indexedPublisher
.
getPublisherId
()));
if
(
integers
.
size
()
>
0
)
{
if
(
!
integers
.
isEmpty
()
)
{
return
publisherVersionRepository
.
findByPublisherVersionIdIn
(
integers
);
}
...
...
Please
register
or
login
to post a comment