toString() angepasst
This commit is contained in:
parent
27b2186c87
commit
7d2b03d584
@ -52,10 +52,12 @@ public class Menue{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "Montag" + "\t\t\t\t" + dish + "\n" + date + "\t\t\t" + sideDish
|
return dish + "\n" + sideDish
|
||||||
+ "\n" + "\t\t\t\t\t" + ingredients + "\n " + "\t\t\t\t\t" + getTyp() + "\n"; //replace("[","").replace("]","")
|
+ "\n" + ingredients.toString().replace("[","").replace("]","") + "\n" + getTyp() + "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user