Browse Source

无JIRA任务 增加配置项默认值

research/10.0
XiaXiang 6 years ago
parent
commit
52d74fd0ec
  1. 8
      designer-base/src/main/java/com/fr/design/mainframe/vcs/VcsConfigManager.java

8
designer-base/src/main/java/com/fr/design/mainframe/vcs/VcsConfigManager.java

@ -11,10 +11,10 @@ import com.fr.stable.xml.XMLableReader;
public class VcsConfigManager implements XMLReadable, XMLWriter { public class VcsConfigManager implements XMLReadable, XMLWriter {
public static final String XML_TAG = "VcsConfigManager"; public static final String XML_TAG = "VcsConfigManager";
private static volatile VcsConfigManager instance = new VcsConfigManager(); private static volatile VcsConfigManager instance = new VcsConfigManager();
private boolean vcsEnable; private boolean vcsEnable = true;
private boolean saveCommit; private boolean saveCommit = true;
private boolean useInterval; private boolean useInterval = true;
private int saveInterval; private int saveInterval = 60;
public static VcsConfigManager getInstance() { public static VcsConfigManager getInstance() {
return instance; return instance;

Loading…
Cancel
Save