]> WPIA git - gigi.git/commitdiff
Harden the AssuranceResult enum in Notary.
authorFelix Dörre <felix@dogcraft.de>
Wed, 9 Jul 2014 14:47:48 +0000 (16:47 +0200)
committerFelix Dörre <felix@dogcraft.de>
Thu, 10 Jul 2014 22:35:13 +0000 (00:35 +0200)
src/org/cacert/gigi/util/Notary.java

index ef0289c790122845bcca8caead853a7e75b7280a..515b25cd30a23601e77a04ea5e6499e47d1bf378 100644 (file)
@@ -58,7 +58,7 @@ public class Notary {
                                "Cannot assure myself."), ASSURANCE_SUCCEDED(""), ASSUREE_CHANGED(
                                "Person details changed. Please start over again."), POINTS_OUT_OF_RANGE(
                                "Points out of range.");
                                "Cannot assure myself."), ASSURANCE_SUCCEDED(""), ASSUREE_CHANGED(
                                "Person details changed. Please start over again."), POINTS_OUT_OF_RANGE(
                                "Points out of range.");
-               String message;
+               private final String message;
                private AssuranceResult(String message) {
                        this.message = message;
                }
                private AssuranceResult(String message) {
                        this.message = message;
                }