mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 06:58:41 +00:00
Code improvements.
This commit is contained in:
@@ -7,7 +7,7 @@ package com.iluwatar;
|
||||
*/
|
||||
public class CoffeeMakingTask extends Task {
|
||||
|
||||
private static int TIME_PER_CUP = 300;
|
||||
private static final int TIME_PER_CUP = 300;
|
||||
|
||||
public CoffeeMakingTask(int numCups) {
|
||||
super(numCups * TIME_PER_CUP);
|
||||
|
||||
Reference in New Issue
Block a user