diff options
author | James Moger <james.moger@gitblit.com> | 2013-11-20 15:26:24 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-11-29 11:05:51 -0500 |
commit | e24670533215141f7146349f782d3c4a2d3ee535 (patch) | |
tree | a1989fb93593ff2167493581fd509064eaa52c02 /src/main/java/com/gitblit/models/ServerStatus.java | |
parent | 32539684194f55a76ec171852f582bdafa4c5631 (diff) | |
download | gitblit-e24670533215141f7146349f782d3c4a2d3ee535.tar.gz gitblit-e24670533215141f7146349f782d3c4a2d3ee535.zip |
Extract RuntimeManager from GitBlit singleton
Change-Id: I5358389396f816da979ec18a31421c2d2b67b3d9
Diffstat (limited to 'src/main/java/com/gitblit/models/ServerStatus.java')
-rw-r--r-- | src/main/java/com/gitblit/models/ServerStatus.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/com/gitblit/models/ServerStatus.java b/src/main/java/com/gitblit/models/ServerStatus.java index f8afd00a..bb6396bc 100644 --- a/src/main/java/com/gitblit/models/ServerStatus.java +++ b/src/main/java/com/gitblit/models/ServerStatus.java @@ -39,8 +39,6 @@ public class ServerStatus implements Serializable { public final String releaseDate;
- public final boolean isGO;
-
public final Map<String, String> systemProperties;
public final long heapMaximum;
@@ -49,13 +47,14 @@ public class ServerStatus implements Serializable { public volatile long heapFree;
+ public boolean isGO;
+
public String servletContainer;
- public ServerStatus(boolean isGO) {
+ public ServerStatus() {
this.bootDate = new Date();
this.version = Constants.getVersion();
this.releaseDate = Constants.getBuildDate();
- this.isGO = isGO;
this.heapMaximum = Runtime.getRuntime().maxMemory();
|