mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
修复UserInfo中用户名加/问题
This commit is contained in:
parent
94dc35a2e0
commit
4a545e3f1a
@ -31,8 +31,11 @@ public class UserInfo implements Serializable{
|
|||||||
private final String USER_LANGUAGE;
|
private final String USER_LANGUAGE;
|
||||||
private final String USER_COUNTRY;
|
private final String USER_COUNTRY;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 构造
|
||||||
|
*/
|
||||||
public UserInfo(){
|
public UserInfo(){
|
||||||
USER_NAME = fixPath(SystemUtil.get("user.name", false));
|
USER_NAME = SystemUtil.get("user.name", false);
|
||||||
USER_HOME = fixPath(SystemUtil.get("user.home", false));
|
USER_HOME = fixPath(SystemUtil.get("user.home", false));
|
||||||
USER_DIR = fixPath(SystemUtil.get("user.dir", false));
|
USER_DIR = fixPath(SystemUtil.get("user.dir", false));
|
||||||
JAVA_IO_TMPDIR = fixPath(SystemUtil.get("java.io.tmpdir", false));
|
JAVA_IO_TMPDIR = fixPath(SystemUtil.get("java.io.tmpdir", false));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user