File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/org/ecn/medev Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public void setNom(String nom) {
4040 */
4141 @ Override
4242 public String toString () {
43- return "Case{" +
43+ return "Case{ " +
4444 "nom='" + nom + '\'' +
4545 '}' ;
4646 }
Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ public Gare(String name){
1919 public String toString () {
2020
2121 if (proprietaire != null ) {
22- return "Gare de" + this .getNom () + " (coût :" + this .getPrix () + ") - " + proprietaire .getNom ();
22+ return "Gare de " + this .getNom () + " (coût :" + this .getPrix () + ") - " + proprietaire .getNom ();
2323 } else {
24- return "Gare de" + this .getNom () + " (coût :" + this .getPrix () + ") - " ;
24+ return "Gare de" + this .getNom () + " (coût :" + this .getPrix () + ") " ;
2525
2626 }
2727 }
You can’t perform that action at this time.
0 commit comments