提交 150ec4cb 编写于 作者: K kohsuke

fixed NPE.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3333 71c3de6d-444a-0410-be80-ed276b4c234a
上级 bb88fbba
......@@ -809,7 +809,8 @@ public class SubversionSCM extends SCM implements Serializable {
req.setAttribute("message",e.getErrorMessage());
rsp.forward(Hudson.getInstance(),"error",req);
} finally {
keyFile.delete();
if(keyFile!=null)
keyFile.delete();
if(item!=null)
item.delete();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册