JDTheRipperPC / Lunar-Lander-Teamwork

Lunar Lander - Teamwork
9 stars 1 forks source link

Backend - Duplicated query unnecessary #16

Closed JDTheRipperPC closed 6 years ago

JDTheRipperPC commented 6 years ago

In the LoginServlet is calling 2 times at the method "findUserByUsername". The first time it doesn't save the User object because it is called in an if statement and the second time save the User object.