This commit is contained in:
Nikolaos Laskaris 2017-11-16 19:34:06 +02:00
parent e981d9c92e
commit 25b47fd03d
1 changed files with 0 additions and 1 deletions

View File

@ -88,7 +88,6 @@ public class Users {
UserInfo userInfo = userInfoDao.getUserInfo(userID);
System.out.println(userInfo.getName());
if(userInfo==null) //this should normally never happer
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).body("There's no such a user on the system. You shouldn't be here");