diff --git a/src/main/java/com/rymcu/vertical/service/impl/UserServiceImpl.java b/src/main/java/com/rymcu/vertical/service/impl/UserServiceImpl.java index 3efeabe..d735122 100644 --- a/src/main/java/com/rymcu/vertical/service/impl/UserServiceImpl.java +++ b/src/main/java/com/rymcu/vertical/service/impl/UserServiceImpl.java @@ -206,7 +206,7 @@ public class UserServiceImpl extends AbstractService implements UserServic } private String formatNickname(String nickname) { - return nickname.replaceAll(".", ""); + return nickname.replaceAll("\\.", ""); } @Override