diff --git a/designer-base/src/main/java/com/fr/design/mainframe/vcs/VcsConfigManager.java b/designer-base/src/main/java/com/fr/design/mainframe/vcs/VcsConfigManager.java index 8c94ac3d42..bbb6e9d9b5 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/vcs/VcsConfigManager.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/vcs/VcsConfigManager.java @@ -10,14 +10,16 @@ import com.fr.stable.xml.XMLableReader; */ public class VcsConfigManager implements XMLReadable, XMLWriter { 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 saveCommit; + private boolean useInterval; + private int saveInterval; public static VcsConfigManager getInstance() { return instance; } - private boolean vcsEnable; - public boolean isVcsEnable() { return vcsEnable; } @@ -50,10 +52,6 @@ public class VcsConfigManager implements XMLReadable, XMLWriter { this.saveInterval = saveInterval; } - private boolean saveCommit; - private boolean useInterval; - private int saveInterval; - @Override public void readXML(XMLableReader reader) { if (reader.isAttr()) {