From: Roland Häder Date: Sat, 5 Nov 2022 04:59:32 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=907e76183b1212c4559a12ae98a1105b7cf9a5c6;p=jcountry-core.git Continued: - TODO closed (above getClass() check is enough here) --- diff --git a/src/org/mxchange/jcountry/model/data/CountryData.java b/src/org/mxchange/jcountry/model/data/CountryData.java index 886c370..e012a34 100644 --- a/src/org/mxchange/jcountry/model/data/CountryData.java +++ b/src/org/mxchange/jcountry/model/data/CountryData.java @@ -236,7 +236,7 @@ public class CountryData implements Country { return false; } - // @todo Maybe a bit unsafe cast? + // Cast to Country interface final Country country = (Country) object; if (!Objects.equals(this.getCountryAbroadDialPrefix(), country.getCountryAbroadDialPrefix())) {