]> WPIA git - gigi.git/commitdiff
UPD: Dont need clonable name.
authorFelix Dörre <felix@dogcraft.de>
Sun, 14 Sep 2014 00:12:04 +0000 (02:12 +0200)
committerFelix Dörre <felix@dogcraft.de>
Sun, 14 Sep 2014 00:12:04 +0000 (02:12 +0200)
src/org/cacert/gigi/dbObjects/Name.java

index e28bf2b26e2bbfb514eebc3e6e4f73d59b6c3a81..512dc769b7ca0fbc69f22ae100ddddcfd01c02d5 100644 (file)
@@ -6,7 +6,7 @@ import java.util.Map;
 import org.cacert.gigi.localisation.Language;
 import org.cacert.gigi.output.Outputable;
 
-public class Name implements Outputable, Cloneable {
+public class Name implements Outputable {
 
     String fname;
 
@@ -101,13 +101,4 @@ public class Name implements Outputable, Cloneable {
                 (mname != null && suffix != null && text.equals(fname + " " + mname + " " + lname + " " + suffix));
     }
 
-    @Override
-    protected Name clone() {
-        try {
-            return (Name) super.clone();
-        } catch (CloneNotSupportedException e) {
-            throw new Error(e);
-        }
-    }
-
 }