Missing synchronization access to the username
This commit is contained in:
1 file changed
+1
-1
@@ -52,7 +52,7 @@ public abstract class LoginSession {
|
|||||||
return requestUsername;
|
return requestUsername;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getUsername() {
|
public synchronized String getUsername() {
|
||||||
return username;
|
return username;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user