From 907e76183b1212c4559a12ae98a1105b7cf9a5c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 5 Nov 2022 05:59:32 +0100 Subject: [PATCH] Continued: - TODO closed (above getClass() check is enough here) --- src/org/mxchange/jcountry/model/data/CountryData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())) { -- 2.39.5