]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/dbObjects/Domain.java
fix: Include visibility and read-only specifications wherever sensible.
[gigi.git] / src / org / cacert / gigi / dbObjects / Domain.java
index 00f51c1fe87df68cf050dd3020c49bbc7e245f9f..7e35225f4d99d409cee53e9aec64544c8563df9a 100644 (file)
@@ -69,6 +69,7 @@ public class Domain implements IdCachable, Verifyable {
     private int id;
 
     private static final Set<String> IDNEnabledTLDs;
+
     static {
         Properties CPS = new Properties();
         try (InputStream resourceAsStream = Domain.class.getResourceAsStream("CPS.properties")) {
@@ -261,7 +262,7 @@ public class Domain implements IdCachable, Verifyable {
 
     }
 
-    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);