From fd2f9066b75c0f1274276f9798029e15ae13ce81 Mon Sep 17 00:00:00 2001 From: "delphine.thevenot" Date: Wed, 24 Sep 2025 21:25:32 +0200 Subject: [PATCH] =?UTF-8?q?m=C3=A0j=20pour=20version=20initialeV2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mycompany/bibliotheque/Contrôle/LivreValide.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/mycompany/bibliotheque/Contrôle/LivreValide.java b/src/main/java/com/mycompany/bibliotheque/Contrôle/LivreValide.java index 03a27a0..899d7b6 100644 --- a/src/main/java/com/mycompany/bibliotheque/Contrôle/LivreValide.java +++ b/src/main/java/com/mycompany/bibliotheque/Contrôle/LivreValide.java @@ -9,7 +9,7 @@ package com.mycompany.bibliotheque.Contrôle; * @author dthev */ public class LivreValide { -// 1. ISBN : exactement 13 chiffres + // 1. ISBN : exactement 13 chiffres public static boolean isValidIsbn(String isbn) { // TODO: implémenter la validation return false; @@ -27,9 +27,15 @@ public class LivreValide { return false; } - // 4. Titre : longueur maximale 200 caractères + // 4. Titre : longueur maximale 200 caractères public static boolean isLongueurTitreValid(String titre) { // TODO: implémenter la validation return false; } + + // 5. Titre : non null et au moins 2 caractères + public static boolean isContenuTitreValide(String titre) { + // TODO: implémenter la validation + return false; +} }