提交 90f9f3c8 编写于 作者: K kohsuke

fixed NPE


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6993 71c3de6d-444a-0410-be80-ed276b4c234a
上级 6f68d6ce
...@@ -200,7 +200,7 @@ public class HudsonPrivateSecurityRealm extends SecurityRealm { ...@@ -200,7 +200,7 @@ public class HudsonPrivateSecurityRealm extends SecurityRealm {
if(data.startsWith(prefix)) if(data.startsWith(prefix))
return new Details(data.substring(prefix.length())); return new Details(data.substring(prefix.length()));
} }
return new Details(pwd); return new Details(Util.fixNull(pwd));
} }
public boolean isEnabled() { public boolean isEnabled() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册