package codeu.chat.common;

import codeu.chat.server.Server;
import codeu.chat.util.Logger;
import codeu.chat.util.Uuid;
import java.io.IOException;

/**
 * Created by dita on 5/20/17.
 */
public final class ServerInfo {

    private final static String SERVER_VERSION = "1.0.0";

    private static final Logger.Log LOG = Logger.newLog(ServerInfo.class);

    public final Uuid version;

    public ServerInfo() {
        Uuid version;

        try {
            version = Uuid.parse(SERVER_VERSION);
        } catch(Exception ex) {
            version = Uuid.NULL;
            LOG.error(ex, "Server version cannot be parsed. Default Uuid version used.");
        }

        this.version = version;
    }

    public ServerInfo(Uuid version) {
        this.version = version;
    }
}

@@ -385,34 +385,189 @@
 on;%0A
-%0A    public ServerInfo() %7B
+    %0A    public final Time startTime;%0A    public ServerInfo(Time startTime) %7B%0A       this.startTime = startTime;%0A    %7D%0A    public ServerInfo() %7B%0A        this.startTime = Time.now();
 %0A   

Add startTime