mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2026-01-16 13:46:32 +00:00
@@ -28,8 +28,8 @@ public class Potato implements Tuber {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void addCondiments(String... names) {
|
public void addCondiments(String... names) {
|
||||||
synchronized (this.condiments) {
|
for (String condimentName : names) {
|
||||||
for (String condimentName : names) this.condiments.add(new Condiment(condimentName));
|
this.condiments.add(new Condiment(condimentName));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user