From bfaa175e108c341f303d8b14b080e2a7ee698777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=9A=AE?= <14840170+lao-pi123@user.noreply.gitee.com> Date: Wed, 9 Oct 2024 13:52:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=AA=E4=BA=BA=E8=B5=84?= =?UTF-8?q?=E6=96=99=E8=AE=BE=E7=BD=AE--=E5=9C=B0=E5=8C=BA=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E5=BC=B9=E7=AA=97=E4=B8=8D=E8=B7=9F=E9=9A=8F=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E8=AF=AD=E8=A8=80=E6=94=B9=E5=8F=98=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib_country_code/src/main/java/com/sahooz/library/Country.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_country_code/src/main/java/com/sahooz/library/Country.java b/lib_country_code/src/main/java/com/sahooz/library/Country.java index 002fb9360..36e852a80 100644 --- a/lib_country_code/src/main/java/com/sahooz/library/Country.java +++ b/lib_country_code/src/main/java/com/sahooz/library/Country.java @@ -45,7 +45,7 @@ public class Country implements PyEntity { } public static ArrayList getAll(@NonNull Context ctx, @Nullable ExceptionCallback callback) { - if(countries != null) return countries; + if(countries != null) countries.clear(); countries = new ArrayList<>(); BufferedReader br = null; try {