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-02-13 12:26:31 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
299b817ef6ae81f699aa8b93bb8eb692147f0597
299b817e
1 parent
23bc5daf
Simplification
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/org/legrog/web/xyz/SharedServiceDefault.java
src/main/java/org/legrog/web/xyz/SharedServiceDefault.java
View file @
299b817
...
...
@@ -77,8 +77,8 @@ public class SharedServiceDefault implements SharedService {
// TODO Remplacer l'astuce par une vraie récupération de l'utilisateur
List
<
Account
>
accounts
=
userService
.
getAllUsers
();
Random
random
=
new
Random
();
Account
account
=
accounts
.
get
(
random
.
nextInt
(
accounts
.
size
()));
return
accounts
.
get
(
random
.
nextInt
(
accounts
.
size
()));
// End TODO
return
account
;
}
}
...
...
Please
register
or
login
to post a comment