PrintWriter out = resp.getWriter();
String pi = req.getPathInfo().substring(PATH.length());
if (pi.length() > 1) {
User myself = LoginPage.getUser(req);
int mid = Integer.parseInt(pi.substring(1));
PrintWriter out = resp.getWriter();
String pi = req.getPathInfo().substring(PATH.length());
if (pi.length() > 1) {
User myself = LoginPage.getUser(req);
int mid = Integer.parseInt(pi.substring(1));
if (check != AssuranceResult.ASSURANCE_SUCCEDED) {
out.println(translate(req, check.getMessage()));
return;
if (check != AssuranceResult.ASSURANCE_SUCCEDED) {
out.println(translate(req, check.getMessage()));
return;
- form.output(out, getLanguage(req), new HashMap<String, Object>());;
+ form.output(out, getLanguage(req), new HashMap<String, Object>());
+ ;
} else {
HashMap<String, Object> vars = new HashMap<String, Object>();
vars.put("DoB", ds);
t.output(out, getLanguage(req), vars);
}
}
} else {
HashMap<String, Object> vars = new HashMap<String, Object>();
vars.put("DoB", ds);
t.output(out, getLanguage(req), vars);
}
}
- PreparedStatement ps = DatabaseConnection
- .getInstance()
- .prepare(
- "SELECT id, verified FROM users WHERE email=? AND dob=? AND deleted=0");
+ PreparedStatement ps = DatabaseConnection.getInstance().prepare(
+ "SELECT id, verified FROM users WHERE email=? AND dob=? AND deleted=0");
- out.println(translate(
- req,
- "I'm sorry, there was no email and date of birth matching"
- + " what you entered in the system. Please double check"
- + " your information."));
+ out.println(translate(req, "I'm sorry, there was no email and date of birth matching"
+ + " what you entered in the system. Please double check" + " your information."));