Improved: Removed unused SuppressWarnings and added proper space after comma and before { in LoginServices.java.
Thanks: Pawan Verma
Also updated tasks.checkstyleMain.maxErrors (-5).
@@ -74,7 +74,6 @@ public class LoginServices {
/** Login service to authenticate username and password
* @return Map of results including (userLogin) GenericValue object
*/
- @SuppressWarnings("checkstyle:LineLength")
public static Map<String, Object> userLogin(DispatchContext ctx, Map<String, ?> context) {
LocalDispatcher dispatcher = ctx.getDispatcher();
Locale locale = (Locale) context.get("locale");
