private int id;
private static final Set<String> IDNEnabledTLDs;
+
static {
Properties CPS = new Properties();
try (InputStream resourceAsStream = Domain.class.getResourceAsStream("CPS.properties")) {
}
- private static ObjectCache<Domain> myCache = new ObjectCache<>();
+ private static final ObjectCache<Domain> myCache = new ObjectCache<>();
public static synchronized Domain getById(int id) throws IllegalArgumentException {
Domain em = myCache.get(id);