Skip to content

Commit f786310

Browse files
authored
Update MainActivity.java
Updating wrong comments.
1 parent d60ff1e commit f786310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/example/android/justjava/MainActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void submitOrder(View view) {
102102
* Calculates the price of the order.
103103
*
104104
* @param addWhippedCream is whether or not we should include whipped cream topping in the price
105-
* @param addChocolate is whether or not we should include whipped cream topping in the price
105+
* @param addChocolate is whether or not we should include chocolate topping in the price
106106
* @return total price
107107
*/
108108
private int calculatePrice(boolean addWhippedCream, boolean addChocolate) {

0 commit comments

Comments
 (0)