Nantes Université

Skip to content
Extraits de code Groupes Projets

Replace one-letter var names

Ouvert Erwan BOUSSE requested to merge refactoring into main
1 fil de conversation non résolu

Rapports de requête de fusion

Loading
Loading

Activité

Filtrer l'activité
  • Approbations
  • Assignés et relecteurs
  • Commentaires (des bots)
  • Commentaires (des utilisateurs)
  • Branches et validations
  • Modifications
  • Labels
  • État de verrouillage
  • Mentions
  • État de la demande de fusion
  • Suivi
8 8 if (word == null || word.isEmpty() || !Pattern.matches("[\\p{Alpha}]*", word)) {
9 9 throw new IllegalArgumentException();
10 10 }
11 for (int i = 0; i< word.length() / 2; i++ ) {
12 char f = word.charAt(i);
13 char l = word.charAt(word.length() - i - 1);
14 if (f != l) {
11 for (int index = 0; index< word.length() / 2; index++ ) {
12 char first = word.charAt(index);
13 char last = word.charAt(word.length() - index);
  • Please fix de problem mentioned above before merging.

  • Veuillez vous inscrire ou vous connecter pour répondre
    Chargement en cours