if (account.getEmail().equals(this.firstSuperUser)) {
account.setAdmin(true);
Sht.log(this).warn(
- "Admin Account Created. " + this.firstSuperUser);
+ "Admin Account Created. {}", this.firstSuperUser);
}
// nickName重複チェック
if (this.accountDao.findAccountByNickName(account.getNickName()) != null) {
Sht.log(this).info(
- "nickName " + account.getNickName() + " is already used.");
+ "nickName {} is already used.", account.getNickName());
throw new RabbitBTSException("nickNameが重複しています。");
}