From fac694cd67f3623e69bb2a39b1ccf50192a4710b Mon Sep 17 00:00:00 2001 From: x ronger Date: Wed, 18 Nov 2020 20:35:26 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E6=98=B5=E7=A7=B0=E7=89=B9=E6=AE=8A?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/rymcu/vertical/service/impl/UserServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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