Skip to content

Commit 11f0a32

Browse files
committed
🔨 Validation test Professeur
1 parent f3ad903 commit 11f0a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/fr/umontp/edt/outils/OutilsProfesseur.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static String formater(String nom, String prenom) {
6666
*/
6767
public static String formater(String nomPrenom) {
6868
nomPrenom = supprimerAccentuation(nomPrenom);
69-
return nomPrenom.toUpperCase(Locale.FRANCE).replaceAll("[^A-Z ]", " ");
69+
return nomPrenom.toUpperCase(Locale.FRANCE).replaceAll("[^A-Z ]", "");
7070
}
7171

7272
}

0 commit comments

Comments
 (0)