package com.opentable.logging;

import java.net.InetAddress;
import java.net.UnknownHostException;
import java.time.format.DateTimeFormatter;
import java.util.Objects;

import com.opentable.serverinfo.ServerInfo;

final class CommonLogHolder
{
    static final DateTimeFormatter FORMAT = DateTimeFormatter.ISO_INSTANT;
    static final String HOST_NAME;

    static {
        try {
            HOST_NAME = InetAddress.getLocalHost().getHostName();
        } catch (UnknownHostException e) {
            throw new ExceptionInInitializerError(e);
        }
    }

    protected static String serverInfo(String infoType)
    {
        return Objects.toString(ServerInfo.get(infoType), null);
    }
}

@@ -138,79 +138,8 @@
 ter;
-%0Aimport java.util.Objects;%0A%0Aimport com.opentable.serverinfo.ServerInfo;
 %0A%0Afi
@@ -486,141 +486,7 @@
    %7D
-%0A%0A    protected static String serverInfo(String infoType)%0A    %7B%0A        return Objects.toString(ServerInfo.get(infoType), null);%0A    %7D
 %0A%7D%0A

Clean orphaned code