From 582797ddfa4e4024810faf393dc9feee0e63abf7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20D=C3=B6rre?= Date: Sun, 6 Jul 2014 00:24:08 +0200 Subject: [PATCH 1/1] Document User.getMaxAssurePoints --- src/org/cacert/gigi/User.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- 2.39.2