// Path: src/main/java/com/cedarsoftware/util/StringUtilities.java
// public static boolean hasContent(final String s)
// {
//     return !(trimLength(s) == 0);    // faster than returning !isEmpty()
// }


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.security.SecureRandom;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;
import static com.cedarsoftware.util.StringUtilities.hasContent;
import static java.lang.Integer.parseInt;
import static java.lang.Math.abs;
import static java.lang.System.currentTimeMillis;

    private static final Object lock = new Object();
    private static final Object lock19 = new Object();
    private static int count = 0;
    private static int count2 = 0;
    private static long previousTimeMilliseconds = 0;
    private static long previousTimeMilliseconds2 = 0;
    private static final int serverId;
    private static final Map<Long, Long> lastIds = new LinkedHashMap<Long, Long>()
    {
        protected boolean removeEldestEntry(Map.Entry<Long, Long> eldest)
        {
            return size() > 1000;
        }
    };
    private static final Map<Long, Long> lastIdsFull = new LinkedHashMap<Long, Long>()
    {
        protected boolean removeEldestEntry(Map.Entry<Long, Long> eldest)
        {
            return size() > 10000;
        }
    };

    static
    {
        int id = getServerId(JAVA_UTIL_CLUSTERID);
        String setVia = "environment variable: " + JAVA_UTIL_CLUSTERID;
        if (id == -1)
        {
            String envName = SystemUtilities.getExternalVariable(JAVA_UTIL_CLUSTERID);
// Path: src/main/java/com/cedarsoftware/util/StringUtilities.java
// public static boolean hasContent(final String s)
// {
//     return !(trimLength(s) == 0);    // faster than returning !isEmpty()
// }


// Path: src/main/java/com/cedarsoftware/util/UniqueIdGenerator.java
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.security.SecureRandom;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;
import static com.cedarsoftware.util.StringUtilities.hasContent;
import static java.lang.Integer.parseInt;
import static java.lang.Math.abs;
import static java.lang.System.currentTimeMillis;


    private static final Object lock = new Object();
    private static final Object lock19 = new Object();
    private static int count = 0;
    private static int count2 = 0;
    private static long previousTimeMilliseconds = 0;
    private static long previousTimeMilliseconds2 = 0;
    private static final int serverId;
    private static final Map<Long, Long> lastIds = new LinkedHashMap<Long, Long>()
    {
        protected boolean removeEldestEntry(Map.Entry<Long, Long> eldest)
        {
            return size() > 1000;
        }
    };
    private static final Map<Long, Long> lastIdsFull = new LinkedHashMap<Long, Long>()
    {
        protected boolean removeEldestEntry(Map.Entry<Long, Long> eldest)
        {
            return size() > 10000;
        }
    };

    static
    {
        int id = getServerId(JAVA_UTIL_CLUSTERID);
        String setVia = "environment variable: " + JAVA_UTIL_CLUSTERID;
        if (id == -1)
        {
            String envName = SystemUtilities.getExternalVariable(JAVA_UTIL_CLUSTERID);
            if (hasContent(envName))