issues
search
DENMOUNS
/
premier_projet
angular et java
MIT License
0
stars
0
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
a quoi ca sert?
#41
StephaneBlackPanther
closed
1 year ago
2
J'ai fouille ton code je ne sais pas a quoi sert cette interface, stp explique moi
#40
StephaneBlackPanther
closed
1 year ago
1
pourquoi final ? et pourquoi pas Autowired une fois ?
#39
StephaneBlackPanther
closed
1 year ago
1
Quand tu fais tes actions dans ton controleur tu ne retourne pas de reponse ?? pourquoi les void ?
#38
StephaneBlackPanther
opened
1 year ago
1
On a parle depuis la derniere fois d'utiliser les @GetMapping etc... et je t'ai montre comment factoriser tes routes comme avec le resource de laravel
#37
StephaneBlackPanther
opened
1 year ago
1
L'indentation n'est pas bonne dans tout ce fichier
#36
StephaneBlackPanther
opened
1 year ago
1
Tu peux utiliser un ifPresent sur ton optional pour gerer ca en une fois si tu veux, un exemple dans le commentaire
#35
StephaneBlackPanther
opened
1 year ago
1
Tu pouvais faire un controleur avec tout ca une fois pour les entrer sans avoir a faire un set pour chaque attribut
#34
StephaneBlackPanther
opened
1 year ago
1
Tu peux ecrire plus simplement en faisant un appel par reference comme j'ai fait dans le commentaire
#33
StephaneBlackPanther
opened
1 year ago
0
Pourquoi pas Autowired les 2 ci aussi ? je veux juste comprendre
#32
StephaneBlackPanther
opened
1 year ago
1
Commentaire inutile encore, faut nettoyer ton code grand
#31
StephaneBlackPanther
opened
1 year ago
0
camelcase pour createdAt stp
#30
StephaneBlackPanther
opened
1 year ago
1
Je ne comprends pas cette portion de code
#29
StephaneBlackPanther
opened
1 year ago
1
Pourquoi tu initialise a false ? le boolean est init a false par defaut deja, et ou sont les @Getter et @Setter dont on a parle la derniere fois
#28
StephaneBlackPanther
opened
1 year ago
0
Ca ne sert a rien de faire ton validate ci partout tu aurais pu le faire dans le beforeeach depuis
#27
StephaneBlackPanther
opened
1 year ago
0
le nom du package ne m'arrange pas, j'aurais prefere un package *enums* ou tu gardes tes enum, et toi tu as mis les enum et ton interface de ColorConverter dans le meme package, c'est pas propre pour moi
#26
StephaneBlackPanther
opened
1 year ago
1
c'est moche utilise le camelcase pour le champ createdAt
#25
StephaneBlackPanther
opened
1 year ago
0
Tu pouvais exporter tout ca dans une methode vu que ca se repete dans toutes tes fonctions, ou alors faire meme une interface qui aurait tout ca et tu surcharge juste pour les cas ou ca differe, comme quand on verifie le num de telephone en plus de verifier si le champ est null ou vide
#24
StephaneBlackPanther
opened
1 year ago
0
Pourquoi creer ce package ici et pas dedans le package garage ?
#23
StephaneBlackPanther
opened
1 year ago
1
Transforme ce fichier en application.yml stp
#22
StephaneBlackPanther
opened
1 year ago
0
Quelle version de junit est ce que tu utilises ?
#21
StephaneBlackPanther
opened
1 year ago
0
Pourquoi ces declarations ?
#20
StephaneBlackPanther
opened
1 year ago
0
Pourquoi ce commentaire inutile ?
#19
StephaneBlackPanther
opened
1 year ago
0
Trop de desordre dans le code ci, tu fais les declarations de variables en bas, tu mets le beforeeach a la fin, tu declares *car* et tu le redeclare encore dans les methode test, je ne comprends rien
#18
StephaneBlackPanther
opened
1 year ago
0
C'est mieux de mettre Aventador dans une String d'abord avant de l'affecter vu que ca apparait 2 fois
#17
StephaneBlackPanther
opened
1 year ago
1
Pourquoi rendre la classe public ?
#16
StephaneBlackPanther
opened
1 year ago
0
Retirer les commentaires qui servent a rien
#15
StephaneBlackPanther
opened
1 year ago
0
C'est mieux de mettre le BeforeEach tout au dessus, c'est plus coherent comme ca. A quoi ca sert en passant ?
#14
StephaneBlackPanther
opened
1 year ago
0
A quoi sert cette annotation ?
#13
StephaneBlackPanther
opened
1 year ago
0
Pourquoi ici je ne pouvais pas mettre @Controller comme annotation ?
#12
StephaneBlackPanther
opened
1 year ago
0
Pourquoi tu passes id en parametre et tu n'utilises pas ?
#11
StephaneBlackPanther
opened
1 year ago
1
Pourquoi tu n'as pas ecris les tests du package service ?
#10
StephaneBlackPanther
opened
1 year ago
1
GarageRepository est une interface, d'apres toi pourquoi tu n'as besoin de faire implement au niveau de la classe pour l'appeler ?
#9
StephaneBlackPanther
opened
1 year ago
3
Pourquoi super ?
#8
StephaneBlackPanther
opened
1 year ago
2
A quoi sert cette annotation ? et comment faire sans ca ?
#7
StephaneBlackPanther
opened
1 year ago
4
Tu peux utiliser les annotations @AllArgsConstructor, @NoArgsConstructor, (@Getter et @Setter) ou @Data pour simplifier le code de ce fichier
#6
StephaneBlackPanther
opened
1 year ago
2
Cree un package Enum ou tu vas garder tous tes enums pour epurer ton code
#5
StephaneBlackPanther
opened
1 year ago
0
Pourquoi pas @GetMapping ?
#4
StephaneBlackPanther
opened
1 year ago
1
Que fait cette annotation ? et quelles autres annotations elle simplifie ?
#3
StephaneBlackPanther
opened
1 year ago
0
C'est quoi hibernate et jpa ? et quelle est la difference ?
#2
StephaneBlackPanther
opened
1 year ago
0
Pourquoi ce test ?
#1
StephaneBlackPanther
opened
1 year ago
2