From 7274033b1b2e531a461ff399d1ed32892a8549a1 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Sat, 30 Oct 2021 20:25:18 +0200 Subject: [PATCH] Typo. --- postman/Cards.postman_collection.json | 4 ++-- src/main/java/fr/aminelouveaau/cartes/model/Shape.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/postman/Cards.postman_collection.json b/postman/Cards.postman_collection.json index 35a01e5..b58f584 100644 --- a/postman/Cards.postman_collection.json +++ b/postman/Cards.postman_collection.json @@ -32,7 +32,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"shape\": \"CLUBS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"SEVEN\"\n },\n {\n \"shape\": \"HEARTS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"CLUBS\",\n \"number\": \"JACK\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"FOUR\"\n },\n {\n \"shape\": \"DIMONDS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"DIMONDS\",\n \"number\": \"FIVE\"\n },\n {\n \"shape\": \"DIMONDS\",\n \"number\": \"THREE\"\n },\n {\n \"shape\": \"HEARTS\",\n \"number\": \"TWO\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"TWO\"\n }\n]", + "raw": "[\n {\n \"shape\": \"CLUBS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"SEVEN\"\n },\n {\n \"shape\": \"HEARTS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"CLUBS\",\n \"number\": \"JACK\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"FOUR\"\n },\n {\n \"shape\": \"DIAMONDS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"DIAMONDS\",\n \"number\": \"FIVE\"\n },\n {\n \"shape\": \"DIAMONDS\",\n \"number\": \"THREE\"\n },\n {\n \"shape\": \"HEARTS\",\n \"number\": \"TWO\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"TWO\"\n }\n]", "options": { "raw": { "language": "json" @@ -61,7 +61,7 @@ "header": [], "body": { "mode": "raw", - "raw": "[\n {\n \"shape\": \"CLUBS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"SEVEN\"\n },\n {\n \"shape\": \"HEARTS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"CLUBS\",\n \"number\": \"JACK\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"FOUR\"\n },\n {\n \"shape\": \"DIMONDS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"DIMONDS\",\n \"number\": \"FIXE\"\n },\n {\n \"shape\": \"DIMONDS\",\n \"number\": \"THREE\"\n },\n {\n \"shape\": \"HEARTS\",\n \"number\": \"TWO\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"TWO\"\n }\n]", + "raw": "[\n {\n \"shape\": \"CLUBS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"SEVEN\"\n },\n {\n \"shape\": \"HEARTS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"CLUBS\",\n \"number\": \"JACK\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"FOUR\"\n },\n {\n \"shape\": \"DIAMONDS\",\n \"number\": \"SIX\"\n },\n {\n \"shape\": \"DIAMONDS\",\n \"number\": \"FIXE\"\n },\n {\n \"shape\": \"DIAMONDS\",\n \"number\": \"THREE\"\n },\n {\n \"shape\": \"HEARTS\",\n \"number\": \"TWO\"\n },\n {\n \"shape\": \"SPADES\",\n \"number\": \"TWO\"\n }\n]", "options": { "raw": { "language": "json" diff --git a/src/main/java/fr/aminelouveaau/cartes/model/Shape.java b/src/main/java/fr/aminelouveaau/cartes/model/Shape.java index 2e368bf..2d8c9b9 100644 --- a/src/main/java/fr/aminelouveaau/cartes/model/Shape.java +++ b/src/main/java/fr/aminelouveaau/cartes/model/Shape.java @@ -1,5 +1,5 @@ package fr.aminelouveaau.cartes.model; public enum Shape { - SPADES, CLUBS, DIMONDS, HEARTS + SPADES, CLUBS, DIAMONDS, HEARTS }