]> WPIA git - gigi.git/commitdiff
Merge changes I82859d98,I3da54fbf
authorFelix Dörre <felix@dogcraft.de>
Tue, 2 Aug 2016 11:50:24 +0000 (13:50 +0200)
committerGerrit Code Review <gigi-system@dogcraft.de>
Tue, 2 Aug 2016 11:50:24 +0000 (13:50 +0200)
* changes:
  upd: fix some wording
  upd: replace assure, assurance, assurer etc in output to user

1  2 
src/org/cacert/gigi/dbObjects/User.java

index 61f347a4e90b380e70802d9871641da1ead0161f,4e925a563a9e9879c12173ce1a1421bb75d30cce..cf43f80f3182a4377a1578b3f11ac370375f8e53
@@@ -136,7 -136,7 +136,7 @@@ public class User extends CertificateOw
      public void setDoB(DayDate dob) throws GigiApiException {
          synchronized (Notary.class) {
              if (getReceivedAssurances().length != 0) {
-                 throw new GigiApiException("No change after assurance allowed.");
+                 throw new GigiApiException("No change after verification allowed.");
              }
  
              if ( !CalendarUtil.isOfAge(dob, User.MINIMUM_AGE)) {
       * 
       * @return the maximal points @
       */
 +    @SuppressWarnings("unused")
      public int getMaxAssurePoints() {
          if ( !CalendarUtil.isOfAge(dob, ADULT_AGE) && POJAM_ENABLED) {
              return 10; // PoJAM
  
      }
  
 -    public Name getPreferredName() {
 +    public synchronized Name getPreferredName() {
          return preferredName;
      }