From b4eb694d4fb81c92e694e72bec517559f2559faa Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 11 Jan 2019 21:04:50 +0100 Subject: [PATCH] Remove a warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/Origin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Origin.java b/src/Origin.java index aa63762..dc3708c 100644 --- a/src/Origin.java +++ b/src/Origin.java @@ -4,7 +4,7 @@ import java.util.Arrays; public class Origin implements Comparable { private String continent = "Unknown"; private String country; - private String continents[] = {"Africa", "Americas", "Asia", "Europe", "Oceania"}; + private String[] continents = {"Africa", "Americas", "Asia", "Europe", "Oceania"}; private String[][] content2DArray = { {"Mali"}, /* Africa */ {"United States of America", "Brasil", "Mexico"}, /* Americas */ -- 2.34.1