From: Jérôme Benoit Date: Fri, 11 Jan 2019 20:04:50 +0000 (+0100) Subject: Remove a warning. X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b4eb694d4fb81c92e694e72bec517559f2559faa;p=Persons_Comparator.git Remove a warning. Signed-off-by: Jérôme Benoit --- 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 */