Skip to content
Snippets Groups Projects
Commit 4dad8538 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Removed redundant check for null.

parent 095f40d9
No related merge requests found
......@@ -97,9 +97,6 @@ public class SessionService implements ISessionService {
/* HTTP polling solution (legacy) */
Session session = databaseDao.getSession(keyword);
if (null == session) {
throw new NotFoundException();
}
userService.addCurrentUserToSessionMap(keyword);
socketIoServer.reportActiveUserCountForSession(keyword);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment