Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Commits
739465b0
There was an error fetching the commit references. Please try again later.
Commit
739465b0
authored
5 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Fix assignment in setter
parent
ebf4aea0
1 merge request
!147
Fix multiple bugs and code smells
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/model/ServiceDescription.java
+2
-2
2 additions, 2 deletions
src/main/java/de/thm/arsnova/model/ServiceDescription.java
with
2 additions
and
2 deletions
src/main/java/de/thm/arsnova/model/ServiceDescription.java
+
2
−
2
View file @
739465b0
...
@@ -113,9 +113,9 @@ public class ServiceDescription {
...
@@ -113,9 +113,9 @@ public class ServiceDescription {
return
allowedRoles
;
return
allowedRoles
;
}
}
public
void
setAllowedRoles
(
final
Set
<
AuthenticationProviderProperties
.
Provider
.
Role
>
r
oles
)
{
public
void
setAllowedRoles
(
final
Set
<
AuthenticationProviderProperties
.
Provider
.
Role
>
allowedR
oles
)
{
this
.
allowedRoles
=
allowedRoles
;
this
.
allowedRoles
=
allowedRoles
;
this
.
allowedRoleStrings
=
r
oles
.
stream
().
map
(
r
->
{
this
.
allowedRoleStrings
=
allowedR
oles
.
stream
().
map
(
r
->
{
switch
(
r
)
{
switch
(
r
)
{
case
MODERATOR:
case
MODERATOR:
return
"speaker"
;
return
"speaker"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment