Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Antti Väyrynen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 373f73af
authored
Jun 02, 2015
by
Juho Juopperi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed funky scala import from UserBean. Also made a function non static.
1 parent
f4550fa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
code/moya-beans/ejbModule/fi/codecrew/moya/beans/UserBean.java
code/moya-beans/ejbModule/fi/codecrew/moya/beans/UserBean.java
View file @
373f73a
...
...
@@ -96,7 +96,6 @@ import fi.codecrew.moya.utilities.PasswordFunctions;
import
fi.codecrew.moya.utilities.SearchQuery
;
import
fi.codecrew.moya.utilities.SearchResult
;
import
fi.codecrew.moya.utilities.moyamessage.MoyaEventType
;
import
scala.tools.cmd.Spec
;
@LocalBean
@Stateless
...
...
@@ -268,13 +267,13 @@ public class UserBean implements UserBeanLocal {
return
checkedRoles
;
}
private
static
void
addRecursive
(
Set
<
Role
>
checkedRoles
,
Collection
<
Role
>
roles
)
{
private
void
addRecursive
(
Set
<
Role
>
checkedRoles
,
Collection
<
Role
>
roles
)
{
for
(
Role
r
:
roles
)
{
addRecursive
(
checkedRoles
,
r
);
}
}
private
static
void
addRecursive
(
Set
<
Role
>
checkedRoles
,
Role
role
)
{
private
void
addRecursive
(
Set
<
Role
>
checkedRoles
,
Role
role
)
{
if
(
role
==
null
||
checkedRoles
.
contains
(
role
))
{
return
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment