From 99d1477f4f6b0797445fcacdab1440439a70e82f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 19 Jan 2019 20:29:22 +0100 Subject: [PATCH] Break a loop once the work is done. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/Country.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Country.java b/src/Country.java index 2e35db2..3b8735d 100644 --- a/src/Country.java +++ b/src/Country.java @@ -100,6 +100,7 @@ public class Country { setLat(Double.parseDouble(latLngArray[0])); setLng(Double.parseDouble(latLngArray[1])); setFlag(line.get(21)); + break; } } if (!found) -- 2.34.1