]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/account/FindAgentAccess.java
upd: enforce pattern of making templates static and final.
[gigi.git] / src / org / cacert / gigi / pages / account / FindAgentAccess.java
index 2f325ebbdca39c41b74d99ab88c3ba6604ca7b5b..98ee3ae35d0a6f156da8bc8577ac340c585e88c5 100644 (file)
@@ -24,10 +24,7 @@ public class FindAgentAccess extends Form {
 
     public static final String PATH = "/account/find-agent";
 
-    private static Template t;
-    static {
-        t = new Template(ChangePasswordPage.class.getResource("FindAgentAccess.templ"));
-    }
+    private static final Template t = new Template(ChangePasswordPage.class.getResource("FindAgentAccess.templ"));
 
     @Override
     public boolean submit(PrintWriter out, HttpServletRequest req) throws GigiApiException {