fix: re-order Ingredient constructor

This commit is contained in:
2022-09-28 14:20:12 -05:00
parent 9b03671e49
commit 8d1ef61699

View File

@@ -14,11 +14,11 @@ public class Ingredient {
private int amount; private int amount;
/** /**
* Creates an ingredient of the given name, unit, and amount * Creates an ingredient of the given name, amount, and unit
* *
* @param iname The name of the ingredient * @param iname The name of the ingredient
* @param iunits The unit of measurement for the ingredient
* @param iamount The amount of the ingredient (in given unit) * @param iamount The amount of the ingredient (in given unit)
* @param iunits The unit of measurement for the ingredient
*/ */
public Ingredient(String iname, int iamount, String iunits) { public Ingredient(String iname, int iamount, String iunits) {
name = iname; name = iname;