Merge pull request #44 from AgentTroll/patch-2

Potato is lightweight.
This commit is contained in:
Trent Hensler 2015-08-26 18:26:15 -05:00
commit 212808a854

View file

@ -28,8 +28,8 @@ public class Potato implements Tuber {
}
public void addCondiments(String... names) {
synchronized (this.condiments) {
for (String condimentName : names) this.condiments.add(new Condiment(condimentName));
for (String condimentName : names) {
this.condiments.add(new Condiment(condimentName));
}
}