better naming of the category
authorJean-Philippe Orsini <orsinije@fr.ibm.com>
Wed, 18 Oct 2017 22:08:00 +0000 (00:08 +0200)
committerJean-Philippe Orsini <orsinije@fr.ibm.com>
Wed, 18 Oct 2017 22:08:00 +0000 (00:08 +0200)
war/src/main/java/pnews/Category.java

index 6d1978a..677ca44 100644 (file)
@@ -1,12 +1,12 @@
 package pnews;
 
 public enum Category {
-        TOP("top", "Les actualités à la une"),
+        TOP("actualite", "Les actualités à la une"),
         FRANCE("france", "France"),
         SPORT("sport", "Sport"),
         EUROPE("europe", "Europe"),
         MONDE("monde", "Monde"),
-        ECO("eco", "Economie"),
+        ECO("economie", "Economie"),
         ESSONNE("essonne", "Essone"),
         TECHNOLOGIE("technologie", "Technologie"),
         PEOPLE("people", "People");