màj pour version initialeV2
This commit is contained in:
@@ -9,7 +9,7 @@ package com.mycompany.bibliotheque.Contrôle;
|
|||||||
* @author dthev
|
* @author dthev
|
||||||
*/
|
*/
|
||||||
public class LivreValide {
|
public class LivreValide {
|
||||||
// 1. ISBN : exactement 13 chiffres
|
// 1. ISBN : exactement 13 chiffres
|
||||||
public static boolean isValidIsbn(String isbn) {
|
public static boolean isValidIsbn(String isbn) {
|
||||||
// TODO: implémenter la validation
|
// TODO: implémenter la validation
|
||||||
return false;
|
return false;
|
||||||
@@ -32,4 +32,10 @@ public class LivreValide {
|
|||||||
// TODO: implémenter la validation
|
// TODO: implémenter la validation
|
||||||
return false;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user