]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/admin/support/FindDomainForm.java
upd: enforce pattern of making templates static and final.
[gigi.git] / src / org / cacert / gigi / pages / admin / support / FindDomainForm.java
index 1096f3d7ab204915643ebb1d80bc532dc57e1af7..93c4b0c158bfffe0eb00f14b2afaac09bac1f0a8 100644 (file)
@@ -17,10 +17,7 @@ public class FindDomainForm extends Form {
 
     private CertificateOwner res = null;
 
-    private static Template t;
-    static {
-        t = new Template(FindDomainForm.class.getResource("FindDomainForm.templ"));
-    }
+    private static final Template t = new Template(FindDomainForm.class.getResource("FindDomainForm.templ"));
 
     public FindDomainForm(HttpServletRequest hsr) {
         super(hsr);