Document User.getMaxAssurePoints
authorFelix Dörre <felix@dogcraft.de>
Sat, 5 Jul 2014 22:24:08 +0000 (00:24 +0200)
committerFelix Dörre <felix@dogcraft.de>
Sat, 5 Jul 2014 22:24:34 +0000 (00:24 +0200)
src/org/cacert/gigi/User.java

index b6086aa9a074fcfe5a407e84ec5bc45437ebde6f..b492de48525130148b3bc1ac9f919449f5bc637f 100644 (file)
@@ -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;