mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Ticket #269: retrieveUser() should take int, not Integer.
This commit is contained in:
@@ -160,7 +160,7 @@ public class UserService {
|
|||||||
* @param id The ID of the user to retrieve.
|
* @param id The ID of the user to retrieve.
|
||||||
* @return The existing MySQLUser object if found, null otherwise.
|
* @return The existing MySQLUser object if found, null otherwise.
|
||||||
*/
|
*/
|
||||||
public MySQLUser retrieveUser(Integer id) {
|
public MySQLUser retrieveUser(int id) {
|
||||||
|
|
||||||
// Query user by ID
|
// Query user by ID
|
||||||
UserWithBLOBs user = userDAO.selectByPrimaryKey(id);
|
UserWithBLOBs user = userDAO.selectByPrimaryKey(id);
|
||||||
|
Reference in New Issue
Block a user