]> git.mxchange.org Git - jcountry-core.git/commitdiff
Added this.
authorRoland Haeder <roland@mxchange.org>
Sat, 20 Feb 2016 18:57:10 +0000 (19:57 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 20 Feb 2016 18:57:10 +0000 (19:57 +0100)
src/org/mxchange/jcountry/data/CountryData.java

index 35fec10bbd21fab6d22a62f7acc283880a9b95bd..3c7a86d3e55ecdc524152d1ad36aeeb3c59e1b56 100644 (file)
@@ -114,7 +114,7 @@ public class CountryData implements Country, Comparable<Country> {
        public boolean equals (final Object object) {
                if (object == null) {
                        return false;
-               } else if (getClass() != object.getClass()) {
+               } else if (this.getClass() != object.getClass()) {
                        return false;
                }