]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/dbObjects/Assurance.java
upd: change CountryCode class into a Country class
[gigi.git] / src / org / cacert / gigi / dbObjects / Assurance.java
index 486b5a340d2b468010a9d16d9564c3da422d7ac4..f3940ebb5d089bce86dcc697a9115981b2106be4 100644 (file)
@@ -33,9 +33,9 @@ public class Assurance {
 
     private String date;
 
-    private CountryCode country;
+    private Country country;
 
-    public Assurance(int id, User from, Name to, String location, String method, int points, String date, CountryCode country) {
+    public Assurance(int id, User from, Name to, String location, String method, int points, String date, Country country) {
         this.id = id;
         this.from = from;
         this.to = to;
@@ -75,7 +75,7 @@ public class Assurance {
         return date;
     }
 
-    public CountryCode getCountry() {
+    public Country getCountry() {
         return country;
     }
 }