From 84c1d5c1527183a4e2830deab5b177d880914f1c Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Sat, 22 Oct 2011 09:01:20 -0400
Subject: [PATCH] Documentation. Refactoring class names. Re-encapsulate settings.

---
 src/com/gitblit/models/ServerStatus.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/com/gitblit/models/ServerStatus.java b/src/com/gitblit/models/ServerStatus.java
index b1dc52d..8dfc0fb 100644
--- a/src/com/gitblit/models/ServerStatus.java
+++ b/src/com/gitblit/models/ServerStatus.java
@@ -17,12 +17,12 @@
 
 import java.io.Serializable;
 import java.util.Date;
-import java.util.HashMap;
 import java.util.Map;
+import java.util.TreeMap;
 
 /**
  * ServerStatus encapsulates runtime status information about the server
- * including the system environment.
+ * including some information about the system environment.
  * 
  * @author James Moger
  * 
@@ -33,10 +33,10 @@
 
 	public final Date bootDate;
 	
+	public final Map<String, String> systemProperties;
+
 	public final long heapSize;
 
-	public final Map<String, String> systemProperties;
-	
 	public volatile long heapAllocated;
 	
 	public volatile long heapFree;
@@ -46,7 +46,7 @@
 		
 		heapSize = Runtime.getRuntime().maxMemory();
 		
-		systemProperties = new HashMap<String, String>();
+		systemProperties = new TreeMap<String, String>();
 		put("file.encoding");
 		put("java.home");
 		put("java.io.tmpdir");

--
Gitblit v1.9.1