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
2016-12-02 11:26:32 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5ba27725fb490754ec85be56e149afa79a6019c4
5ba27725
1 parent
2f1556d5
sonarQube : Use constructor injection for this field.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
src/main/java/org/legrog/web/xyz/SharedServiceSpring.java
src/main/java/org/legrog/web/xyz/SharedServiceSpring.java
View file @
5ba2772
...
...
@@ -14,15 +14,20 @@ import java.util.Vector;
@Stateless
public
class
SharedServiceSpring
implements
SharedService
{
@Inject
CountryRepository
countryRepository
;
@Inject
UserRoleRepository
userRoleRepository
;
@Inject
UserPropertyRepository
userPropertyRepository
;
@Inject
UserService
userService
;
@Inject
public
SharedServiceSpring
(
CountryRepository
countryRepository
,
UserRoleRepository
userRoleRepository
,
UserPropertyRepository
userPropertyRepository
,
UserService
userService
)
{
this
.
countryRepository
=
countryRepository
;
this
.
userRoleRepository
=
userRoleRepository
;
this
.
userPropertyRepository
=
userPropertyRepository
;
this
.
userService
=
userService
;
}
private
List
<
DisplayNameMask
>
allDisplayNameMasks
;
public
void
addCountry
(
Country
country
)
{
...
...
Please
register
or
login
to post a comment