提交 8c0c0ccb 编写于 作者: K kohsuke

added note.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1952 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c0cb3466
......@@ -154,6 +154,11 @@ public abstract class Descriptor<T extends Describable<T>> {
/**
* Loads the data from the disk into this object.
*
* <p>
* The constructor of the derived class must call this method.
* (If we do that in the base class, the derived class won't
* get a chance to set default values.)
*/
protected synchronized void load() {
XmlFile file = getConfigFile();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册