Skip to content

Commit 68be56b

Browse files
committed
Changed grind to ground
1 parent 3028f20 commit 68be56b

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/com/nighthacking/recipes/AeroPressCoffee.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class AeroPressCoffee implements Recipe {
1616
private final Ingredient extraWater;
1717

1818
public AeroPressCoffee(double strength) {
19-
beans = Ingredient.byWeight(CoffeeCalculator.grindWeight(strength, CUP_SIZE), "Coffee Beans");
19+
beans = Ingredient.byWeight(CoffeeCalculator.groundWeight(strength, CUP_SIZE), "Coffee Beans");
2020
brewingWater = Ingredient.byWeight(beans.getWeight() / BREW_RATIO, "Water");
2121
extraWater = Ingredient.byWeight(CUP_SIZE - brewingWater.getWeight(), "Water");
2222
}
@@ -43,7 +43,7 @@ public Step[] steps() {
4343
Step.waitFor(beans),
4444
Step.say("Great, take your beans off the scale now."),
4545
Step.waitForClear(),
46-
Step.say("Put your AeroPress filled with grinds on"),
46+
Step.say("Put your AeroPress filled with grounds on"),
4747
Step.waitForContents(),
4848
Step.tare(),
4949
Step.say("Pour " + brewingWater + " at 200F"),

src/com/nighthacking/recipes/CleverCoffeeDripper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class CleverCoffeeDripper implements Recipe {
1414
private final Ingredient water;
1515

1616
public CleverCoffeeDripper(double strength) {
17-
beans = Ingredient.byWeight(CoffeeCalculator.grindWeight(strength, CUP_SIZE), "Graos de Cafe");
17+
beans = Ingredient.byWeight(CoffeeCalculator.groundWeight(strength, CUP_SIZE), "Graos de Cafe");
1818
water = Ingredient.byWeight(CUP_SIZE, "Agua");
1919
}
2020

src/com/nighthacking/recipes/CoffeeCalculator.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ public class CoffeeCalculator {
1010
public static final double STRONG = 62;
1111

1212
/**
13-
* Calculates the weight of grinds needed to reach a target coffee strength.
13+
* Calculates the weight of grounds needed to reach a target coffee strength.
1414
*
1515
* @param strength Target strength in grams/liter
1616
* @param water Final water volume in grams (1g = 1ml)
17-
* @return Amount of grinds needed in grams
17+
* @return Amount of grounds needed in grams
1818
*/
19-
public static double grindWeight(double strength, double water) {
19+
public static double groundWeight(double strength, double water) {
2020
return strength * (water / 1000);
2121
}
2222
}

src/com/nighthacking/recipes/PourOverCoffee.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class PourOverCoffee implements Recipe {
1616
private final Ingredient extraWater;
1717

1818
public PourOverCoffee(double strength) {
19-
beans = Ingredient.byWeight(CoffeeCalculator.grindWeight(strength, CUP_SIZE), "Coffee Beans");
19+
beans = Ingredient.byWeight(CoffeeCalculator.groundWeight(strength, CUP_SIZE), "Coffee Beans");
2020
brewingWater = Ingredient.byWeight(CUP_SIZE * BREW_RATIO, "Water");
2121
extraWater = Ingredient.byWeight(CUP_SIZE - brewingWater.getWeight(), "Water");
2222
}
@@ -43,7 +43,7 @@ public Step[] steps() {
4343
Step.waitFor(beans),
4444
Step.say("Great, take your beans off the scale now."),
4545
Step.waitForClear(),
46-
Step.say("Put your cup, dripper, filter, and grinds on"),
46+
Step.say("Put your cup, dripper, filter, and grounds on"),
4747
Step.waitForContents(),
4848
Step.tare(),
4949
Step.say("Pour " + brewingWater + " at 200F"),

0 commit comments

Comments
 (0)