提交 a69542a5 编写于 作者: F Fritz Elfert

Firing SaveableListener, fix formatting

上级 db48238d
......@@ -155,6 +155,7 @@ public class Nodes implements Saveable {
XmlFile xmlFile = new XmlFile(Jenkins.XSTREAM,
new File(new File(getNodesDir(), node.getNodeName()), "config.xml"));
xmlFile.write(node);
SaveableListener.fireOnChange(this, xmlFile);
}
}
......@@ -170,7 +171,7 @@ public class Nodes implements Saveable {
Queue.withLock(new Runnable() {
@Override
public void run() {
jenkins.trimLabels();
jenkins.trimLabels();
}
});
persistNode(node);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册