Ticket #269: retrieveUser() should take int, not Integer.
This commit is contained in:
1 parent
88cae0c8e0
commit
554b30f47b
1 file changed
+1
-1
+1
-1
@@ -160,7 +160,7 @@ public class UserService {
|
||||
* @param id The ID of the user to retrieve.
|
||||
* @return The existing MySQLUser object if found, null otherwise.
|
||||
*/
|
||||
public MySQLUser retrieveUser(Integer id) {
|
||||
public MySQLUser retrieveUser(int id) {
|
||||
|
||||
// Query user by ID
|
||||
UserWithBLOBs user = userDAO.selectByPrimaryKey(id);
|
||||
|
||||
Reference in new issue
Block a user