]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/account/ChangeForm.java
upd: enforce pattern of making templates static and final.
[gigi.git] / src / org / cacert / gigi / pages / account / ChangeForm.java
index 8e73d3f27f83c16a70f67c1d36471b217a6c8dc3..667dc751fbc84a9e28637e410ba728e4e922a4b8 100644 (file)
@@ -21,10 +21,7 @@ public class ChangeForm extends Form {
         this.target = target;
     }
 
-    private static Template t;
-    static {
-        t = new Template(ChangePasswordPage.class.getResource("ChangePasswordForm.templ"));
-    }
+    private static final Template t = new Template(ChangePasswordPage.class.getResource("ChangePasswordForm.templ"));
 
     @Override
     public void outputContent(PrintWriter out, Language l, Map<String, Object> vars) {