fix: re-order Ingredient constructor
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user