X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2FUser.java;h=b492de48525130148b3bc1ac9f919449f5bc637f;hp=b6086aa9a074fcfe5a407e84ec5bc45437ebde6f;hb=582797ddfa4e4024810faf393dc9feee0e63abf7;hpb=30d2be517e03dc0566c313a3d275dac60f2b5a68 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;