]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/main/Signup.java
upd: enforce pattern of making templates static and final.
[gigi.git] / src / org / cacert / gigi / pages / main / Signup.java
index 4df3ba4903026ea32013dda55adcf83545fac9ec..0fc04d8e9f9144e3202b956ef009bc74a3cab31b 100644 (file)
@@ -32,13 +32,13 @@ public class Signup extends Form {
 
     String email = "";
 
-    private Template t;
+    private static final Template t = new Template(Signup.class.getResource("Signup.templ"));
 
     boolean general = true, country = true, regional = true, radius = true;
 
     public Signup(HttpServletRequest hsr) {
         super(hsr);
-        t = new Template(Signup.class.getResource("Signup.templ"));
+
     }
 
     DateSelector myDoB = new DateSelector("day", "month", "year");