Just switched to Java from php
I encountered following issue
I want to rewrite
if(usrname.equals(username) && (passwd.equals(password))){
Why redundant boolean
boolean
Just use
return (usrname.equals(username) && passwd.equals(password));