Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit68be56b

Browse files
committed
Changed grind to ground
1 parent3028f20 commit68be56b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

‎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
privatefinalIngredientextraWater;
1717

1818
publicAeroPressCoffee(doublestrength) {
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 withgrinds on"),
46+
Step.say("Put your AeroPress filled withgrounds 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
privatefinalIngredientwater;
1515

1616
publicCleverCoffeeDripper(doublestrength) {
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
publicstaticfinaldoubleSTRONG =62;
1111

1212
/**
13-
* Calculates the weight ofgrinds needed to reach a target coffee strength.
13+
* Calculates the weight ofgrounds 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 ofgrinds needed in grams
17+
* @return Amount ofgrounds needed in grams
1818
*/
19-
publicstaticdoublegrindWeight(doublestrength,doublewater) {
19+
publicstaticdoublegroundWeight(doublestrength,doublewater) {
2020
returnstrength * (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
privatefinalIngredientextraWater;
1717

1818
publicPourOverCoffee(doublestrength) {
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, andgrinds on"),
46+
Step.say("Put your cup, dripper, filter, andgrounds on"),
4747
Step.waitForContents(),
4848
Step.tare(),
4949
Step.say("Pour " +brewingWater +" at 200F"),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp