Fix a typo in a variable name

This commit is contained in:
Andy Janata 2018-03-30 16:27:29 -07:00
parent 21e8f7a571
commit 6d289ef925
1 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ public class RegisterHandler extends Handler {
private final Set<String> banList; private final Set<String> banList;
private final User.Factory userFactory; private final User.Factory userFactory;
private final Provider<String> persistentIdProvider; private final Provider<String> persistentIdProvider;
private final IdCodeMangler idCodeManger; private final IdCodeMangler idCodeMangler;
@Inject @Inject
public RegisterHandler(final ConnectedUsers users, @BanList final Set<String> banList, public RegisterHandler(final ConnectedUsers users, @BanList final Set<String> banList,
@ -82,7 +82,7 @@ public class RegisterHandler extends Handler {
this.banList = banList; this.banList = banList;
this.userFactory = userFactory; this.userFactory = userFactory;
this.persistentIdProvider = persistentIdProvider; this.persistentIdProvider = persistentIdProvider;
this.idCodeManger = idCodeMangler; this.idCodeMangler = idCodeMangler;
this.adminList = adminList; this.adminList = adminList;
} }
@ -115,7 +115,7 @@ public class RegisterHandler extends Handler {
persistentId = persistentIdProvider.get(); persistentId = persistentIdProvider.get();
} }
final String mangledIdCode = idCodeManger.mangle(nick, final String mangledIdCode = idCodeMangler.mangle(nick,
request.getParameter(AjaxRequest.ID_CODE)); request.getParameter(AjaxRequest.ID_CODE));
final User user = userFactory.create(nick, mangledIdCode, request.getRemoteAddr(), final User user = userFactory.create(nick, mangledIdCode, request.getRemoteAddr(),