X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2FUser.java;h=b492de48525130148b3bc1ac9f919449f5bc637f;hb=35733d6e3c2b8706de5739d3d1ef6cc93a8ea5f6;hp=b6086aa9a074fcfe5a407e84ec5bc45437ebde6f;hpb=e1628fcef515073d132978e4f0bf8c8e20a3b1cd;p=gigi.git diff --git a/src/org/cacert/gigi/User.java b/src/org/cacert/gigi/User.java index b6086aa9..b492de48 100644 --- a/src/org/cacert/gigi/User.java +++ b/src/org/cacert/gigi/User.java @@ -159,6 +159,14 @@ public class User { && dob.toString().equals(s.dob.toString()); // This is due to // day cutoff } + + /** + * Gets the maximum allowed points NOW. Note that an assurance needs to + * re-check PoJam as it has taken place in the past. + * + * @return the maximal points + * @throws SQLException + */ public int getMaxAssurePoints() throws SQLException { int exp = getExperiencePoints(); int points = 10;