Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
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
Paul-Christian Volkmer
ARSnova Backend
Commits
2dee74b9
Commit
2dee74b9
authored
12 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Added debugging code to find a bug only occurring on the production
server.
parent
dd8d6875
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/services/UserService.java
+5
-1
5 additions, 1 deletion
src/main/java/de/thm/arsnova/services/UserService.java
with
5 additions
and
1 deletion
src/main/java/de/thm/arsnova/services/UserService.java
+
5
−
1
View file @
2dee74b9
...
...
@@ -66,7 +66,11 @@ public class UserService implements IUserService, InitializingBean, DisposableBe
usernames
.
size
(),
user2sessionLegacy
.
size
()
);
for
(
Entry
<
User
,
String
>
e
:
user2sessionLegacy
.
entrySet
())
{
if
(
usernames
.
contains
(
e
.
getKey
().
getUsername
()))
{
User
key
=
e
.
getKey
();
LOGGER
.
debug
(
"key: {}"
,
key
);
String
username
=
key
.
getUsername
();
LOGGER
.
debug
(
"username: {}"
,
username
);
if
(
usernames
.
contains
(
username
))
{
LOGGER
.
debug
(
"Removing user {} from user2sessionLegacy"
,
e
.
getKey
());
user2sessionLegacy
.
remove
(
e
.
getKey
());
}
...
...
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