Compare commits
4 Commits
Prof
...
6e8f63e2c0
Author | SHA1 | Date | |
---|---|---|---|
6e8f63e2c0 | |||
|
22bce1d53b | ||
6ec5d152eb | |||
ca3338fe1a |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
/target/
|
/target/
|
||||||
|
*.xml
|
@@ -11,7 +11,7 @@ package com.mycompany.bibliotheque.Contrôle;
|
|||||||
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 Emile: implémenter la validation
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,13 +29,13 @@ public class LivreValide {
|
|||||||
|
|
||||||
// 4. Titre : longueur maximale 200 caractères
|
// 4. Titre : longueur maximale 200 caractères
|
||||||
public static boolean isLongueurTitreValid(String titre) {
|
public static boolean isLongueurTitreValid(String titre) {
|
||||||
// TODO: implémenter la validation
|
// TODO Morgann: implémenter la validation
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 5. Titre : non null et au moins 2 caractères
|
// 5. Titre : non null et au moins 2 caractères
|
||||||
public static boolean isContenuTitreValide(String titre) {
|
public static boolean isContenuTitreValide(String titre) {
|
||||||
// TODO: implémenter la validation
|
// TODO Steve: implémenter la validation
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user