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